Skip to content

(Component):moveAfter

Move the component after one of it's siblings.

Synopsis

component = component:moveAfter( sibling )

Parameters

sibling string or Component
Can be an ID of a sibling, or the sibling component itself.

Returns

component Component
Returns the caller table, so it can be chained

Examples

local container = mintmousse.get("container")
container.moveAfter("otherContainer")

container.moveAfter(mintmousse.get("container"))

See Also