Skip to content

Container.setChildIndex method

Container › setChildIndex

Unofficial

Sets the index of a child.

Signature:

setChildIndex(child: T, index: number): void

Parameters:

ParameterTypeDescription
childTThe child.
indexnumberThe new index.

Returns: void