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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Base.js

 

 

Show:
© 2014 Microsoft