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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

Pivot

 

 

Show:
© 2014 Microsoft