Class: GdfsEvent

GdfsEvent(target, eventName)

new GdfsEvent(target, eventName)

Event class

Parameters:
Name Type Description
target HTMLElement

An element that dispatch

eventName string

An event name

Source:

Methods

fire(handler) → {undefined}

Fire this event.

Parameters:
Name Type Description
handler function

An event handler

Source:
Returns:
Type
undefined

listen(handler) → {undefined}

Listen this event.

Parameters:
Name Type Description
handler function

An event handler

Source:
Returns:
Type
undefined