DOMEventMixin object
TOC
Collapse the table of content
Expand the table of content

WinJS.UI.DOMEventMixin object

Applies to Windows and Windows Phone

Adds event-related methods to the control.

Syntax


var object = new WinJS.UI.DOMEventMixin();

Members

The DOMEventMixin object has these types of members:

Methods

The DOMEventMixin object has these methods.

MethodDescription
addEventListener

Adds an event listener to the control.

dispatchEvent

Raises an event of the specified type, adding the specified additional properties.

removeEventListener

Removes an event listener from the control.

setOptions

Adds the set of declaratively specified options (properties and events) to the specified control. If the name of the options property begins with "on", the property value is a function and the control supports addEventListener. This method calls the addEventListener method on the control.

 

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

 

 

Show:
© 2016 Microsoft