Pivot.onitemanimationstart event

Raised when a PivotItem control's animation starts.

Syntax

<div data-win-control="WinJS.UI.Pivot" data-win-options="{onitemanimationstart : handler}" />
function handler(eventInfo) { /* Your code */ }

// addEventListener syntax
pivot.addEventListener("itemanimationstart", handler);
pivot.removeEventListener("itemanimationstart", handler);

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

Event handler parameters

  • eventInfo
    Type: CustomEvent**

    An object that contains information about the event. The detail property of this object contains additional information (if any).

Remarks

Note For Windows, this member is available starting with the WinJS 3.0 library. The WinJS 3.0 library is available via CDN, package manager, or website download but currently not through the Windows Store as a Windows Store framework package.

Requirements

Minimum WinJS version

Phone WinJS 2.1

Namespace

WinJS.UI

See also

Pivot