contains(descendant)
Class: MenuBar. Method inherited from ContainerComponent.
Description:
Checks if passed component is a descendant of this container component.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Child component to check. |
Returns:
If the descendant component is inside of this component.
Type: boolean
Throws:
- TypeError: When passed argument is not an instance of UIComponent.
