Share via


WinJS.Utilities.eventMixin object

A mixin that contains event-related functions.

Syntax

WinJS.Class.mix(EventObject, eventMixin);

Members

The eventMixin object has these types of members:

  • Methods

Methods

The eventMixin object has these methods.

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