We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
there are a number of events that might often have preventDefault called
preventDefault
contextmenu
submit
click
using dom-delegator, how can preventDefault be called? it's not on the pseudo-event object passed to the handler.
The text was updated successfully, but these errors were encountered:
Good catch. I'll need to implement this
Sorry, something went wrong.
Added a preventDefault() method in v6.3.0
preventDefault()
I also store the original event on ev._rawEvent for any other custom programming.
ev._rawEvent
No branches or pull requests
there are a number of events that might often have
preventDefault
calledcontextmenu
to prevent the default context menu and show a custom onesubmit
to prevent the browser redirecting/reloading when a form is submitted and instead submitting via xhrclick
on an anchor when using the history API to navigateusing dom-delegator, how can
preventDefault
be called? it's not on the pseudo-event object passed to the handler.The text was updated successfully, but these errors were encountered: