Partager via


WinJS.Resources.dispatchEvent function

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

Syntax

WinJS.Resources.dispatchEvent(type, details);

Parameters

  • type
    Type: String

    The name of the event to raise.

  • details
    Type: Object

    The set of additional properties to attach to the event object.

Return value

This function does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Resources

See also

WinJS.Resources