Wrapper around Mojo.Event.stopListening that also calls get() on element if it is a string, converting it to a DOM node.
Argument | Type | Description |
---|---|---|
element | String|Element |
String: DOM ID Element: DOM element reference |
eventType | String | Identifier for the event type. |
callback | Function | Function object registered to be called when the event occured. |
onCapture | Boolean | True to listen during capture phase, False to listen during bubbling. |
0 Comments