Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit event dispatcher - use new Event #56

Closed
drublic opened this issue Jul 2, 2013 · 0 comments
Closed

Revisit event dispatcher - use new Event #56

drublic opened this issue Jul 2, 2013 · 0 comments
Assignees
Milestone

Comments

@drublic
Copy link
Owner

drublic commented Jul 2, 2013

Currently we use document.createEvent which is the old way to trigger events. The new way is something like this:

var elem = document.getElementById('myForm');
var event = new Event('submit');
elem.dispatchEvent(event);
@ghost ghost assigned drublic Jul 2, 2013
drublic added a commit that referenced this issue Aug 13, 2013
The old way to use document.createElement is deprecated. We now use
CustomEvents as they are provided in JS.

Closes #56.
@drublic drublic closed this as completed Aug 13, 2013
drublic added a commit that referenced this issue Oct 7, 2013
The old way to use document.createElement is deprecated. We now use
CustomEvents as they are provided in JS.

Closes #56.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant