Global

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:
  • Object
Properties:
Name Type Description
element HTMLDivElement
Source:

elementTag

the name of the element
Type:
  • string
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:
  • Object
Properties:
Name Type Attributes Description
preventDefault boolean <optional>
Runs the PreventDefault method https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault
Source: