Share via


initMSManipulationEvent method

Used to create a manipulation event that can be called from JavaScript.

 

Syntax

object.initMSManipulationEvent(typeArg, canBubbleArg, cancelableArg, viewArg, detailArg, lastState, currentState);

Parameters

  • typeArg [in]
    Type: DOMString

    The type of the event being created

  • canBubbleArg [in]
    Type: boolean

    Indicates whether the event can bubble. When true the event should propagate upward. When false the event does not propagate upward.

  • cancelableArg [in]
    Type: boolean

    Indicates whether the event’s default action can be prevented. When true, the default action can be canceled. When false, the default action cannot be canceled.

  • viewArg [in]
    Type: AbstractView

    The view in which the event is taking place.

  • detailArg [in]
    Type: long

    Specifies some detailed information depending upon the event.

  • lastState [in]
    Type: long

  • currentState [in]
    Type: long

Return value

This method does not return a value.