PreventDefault Op
Prevents the default on a JavaScript event
Summary (oneliner)
See w3schools: preventDefault()
Some examples when you might want to prevent the default on an event:
- Clicking on a «Submit» button, prevent it from submitting a form
- Clicking on a link, prevent the link from following the URL
Full Name
- Ops.Html.Event.PreventDefault
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
Execute (Trigger)
Only execute once per Event
Event In (Object)
The event on which you want to prevent the default
OUTPUT PORTS
Next (Trigger)
Triggers after
Event Out (Object)
Same as Event In