ILayout.endLayout method

Applies to Windows only

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use the ILayout2 interface. Called by the ListView at the end of a layout pass.

Syntax


var object = iLayout.endLayout();

Parameters

This method has no parameters.

Return value

Type: Object

A object that has these properties:

  • animationPromise: A Promise for the animation triggered by the layout pass, or Promise.wrap if there are no animations.
  • newEndIndex: If this value is null, there's no more work to do. Any other value means a new layout pass needs to start.

Remarks

Your implementation can use this method to start animations and to check whether there needs to be another layout pass.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

See also

ILayout

 

 

Show:
© 2015 Microsoft