Поделиться через


ILayout.endLayout method

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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayout