Class: EventTracker

WinJSContrib.UI. EventTracker

object to register and release events from addEventListener or bind

new EventTracker()

Source:

Methods

addBinding(e, eventName, handler)

register binding event

Parameters:
Name Type Description
e Object

object containing bind method

eventName string

name of the binding event

handler function
Source:

addEvent(e, eventName, handler, capture) → {function}

register an event from an object

Parameters:
Name Type Description
e Object

object containing addEventListener

eventName string

name of the event

handler function
capture boolean
Source:
Returns:

function to call for unregistering the event

Type
function

dispose()

release all registered events

Source: