Class: Dispatcher

Dispatcher


new Dispatcher(handler)

The dispatcher registers listeners for all relevant events to the window object
and dispatched the event to the EventHandler. The dispatcher listens to similar events
like touchstart and mousedown but makes sure that these events are not fired

Parameters:
Name Type Description
handler
Source:

Methods


register()

register to all events

Source: