Sends an event to the current element.
Method of dom/EventTargetdom/EventTarget
Syntaxvar defaultPrevented = eventTarget.dispatchEvent(event);
Parameters event
The event object to dispatch.
Return ValueReturns an object of type BooleanBoolean
Whether any of the event handlers called preventDefault.
Default. The default action is permitted.
The caller should prevent the default action.
NotesEvents that the dispatchEvent method dispatches are subject to the same capturing and bubbling behavior as events that the browser dispatches. You cannot cancel some events. For more information, see the documentation for the event.
Related specificationsMicrosoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4