Methods
addListener(target, listener, options, type)
Parameters:
| Name |
Type |
Description |
target |
HTMLElement
|
the element |
listener |
listener
|
listens for event activation |
options |
listenerOptions
|
if the event does not get explicitly handled, its default action should not be taken as it normally would be |
type |
string
|
|
- Source:
Type Definitions
Element
Type:
Properties:
| Name |
Type |
Description |
element |
HTMLDivElement
|
|
- Source:
elementTag
the name of the element
Type:
- Source:
listener(event)
Parameters:
| Name |
Type |
Description |
event |
Event
|
|
- Source:
listenerOptions
if the event does not get explicitly handled, its default action should not be taken as it normally would be
Type:
Properties:
- Source: