moveChild

open override fun moveChild(role: String?, index: Int, child: INode)

Moves a node to this node's children with the given role and index. The child node can originate from a different parent.

Parameters

role

target role

index

target index within the role

child

child node to be moved