removeFromParent

fun removeFromParent(): ComponentView

Removes this component from its parent.

Return

Returns the former parent.

See also

Throws

If this component is not contained in any container. Use parent field to check.