Class UIElementStateChangeEventArgs
Arguments of the UIElementStateChange event.
Package: @aurigma/design-editor-iframe
Examples
You can pass these arguments as follows:
{
"element": "BottomToolbar.Zoom",
"isOpen": true
}
Constructors
(constructor)(element, isOpen)
Constructs a new instance of the UIElementStateChangeEventArgs class
Declaration
constructor(element: string, isOpen?: boolean);
Parameters
| Type | Name | Description |
|---|---|---|
| string | element |
UI element that opens or closes. The current implementation only supports the |
| boolean | isOpen |
If |
Properties
element
A UI element that opens or closes. The current implementation only supports the TextPopup, BottomToolbar.Zoom, and BottomToolbar.Settings controls.
Declaration
element: string;
Property Value
| Type | Description |
|---|---|
| string | A UI element that opens or closes. The current implementation only supports the |
isOpen
Whether the UI element is opened.
Declaration
isOpen?: boolean;
Property Value
| Type | Description |
|---|---|
| boolean | Whether the UI element is opened. |
Remarks
If true, the element has been opened. If false, the element has been closed.