Skip to main content
WinJS.Utilities.eventMixin object

Applies to Windows and Windows Phone

A mixin that contains event-related functions.

Syntax


WinJS.Class.mix(EventObject, eventMixin);

Members

The eventMixin object has these types of members:

Methods

The eventMixin object has these methods.

MethodDescription
addEventListener

Adds an event listener to the control.

dispatchEvent

Raises an event of the specified type and with the specified additional properties.

removeEventListener

Removes an event listener from the control.

 

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities