My Library API Reference error

J

johnwlockwood

Hi Dave,

I was trying out your My Library and dispatchEvent wasn't working for
me based on:
Examples
API.dispatchEvent('click', el);

I then payed attention to the Syntax and it showed the element is the
first arg. once I change my code to follow, it worked.

-John
 
D

David Mark

johnwlockwood said:
Hi Dave,

I was trying out your My Library and dispatchEvent wasn't working for
me based on:

Apologies for the misprint. Syntax was right, but the example that
followed had the arguments swapped. I fixed it.
I then payed attention to the Syntax and it showed the element is the
first arg. once I change my code to follow, it worked.

Glad it is working for you. Thanks for the heads up!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top