Skip to content

Component

The object you use to update the components on the web console. It is also known as a Proxy Table.

Constructors

Constructors Description
mintmousse.newTab Create a new Tab
(Component):new<Type> Create a new component

Functions

Function Description
(Component):add<Type> Create a new component
(Component):remove Removes itself, and it's children if any
(Component):setChildrenOrder Set the order of all the children at once
(Component):moveBefore Move the current component before the given component
(Component):moveAfter Move the current component after the given component
(Component):moveToFront Move the component to the first index
(Component):moveToBack Move the component to the last index
(Component):children Used to iterate over all the locally known children

Fields

Field Description
(Component).id The ID of the component, one is generated if one isn't given
(Component).type The type of the component, or "unknown" if it isn't known
(Component).parentID The parent ID of the component, if the local thread knows it
(Component).parent Get the parent component of this component
(Component).back Syntax sugar: alias for (Component).parent
(Component).isDead Has this component marked removed.

See Also