Share via


WinJS.UI.DOMEventMixin object

Adds event-related methods to the control.

Syntax

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

Members

The DOMEventMixin object has these types of members:

  • Methods

Methods

The DOMEventMixin object has these methods.

Method Description
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