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 totrueif the UI component is shown, orfalseif it is hidden.
Example
engine.ui.isComponentShown('chat');
Available on: Client