Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Pivot.onitemanimationstart event

Applies to Windows and Windows Phone

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

SynchronousNo
BubblesYes
CancelableYes

 

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

 

 

Show: