isComponentShown
Checks whether a UI component is shown.
Syntax
engine.ui.isComponentShown(componentId);
Parameters
Name | Type | Description |
---|---|---|
componentId | UIComponentType | The type of the UI component to check. |
Returns
Promise<boolean>
- A promise that resolves totrue
if the UI component is shown, orfalse
if it is hidden.
Example
engine.ui.isComponentShown('chat');
Available on: Client