toIndex
Home > @gooddata/sdk-ui-dashboard > MoveLayoutSectionPayload > toIndex
MoveLayoutSectionPayload.toIndex property
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Index where the section should be moved.
Index is zero-based. For convenience index of -1 means moving the item to the end of the section list.
Signature:
readonly toIndex: number | ILayoutSectionPath;
Remarks
"number" support will be removed in the next major SDK version. Use ILayoutSectionPath instead.
TODO LX-648: Remove number type in the next major version.