Skip to main content
⚠️ Archived Version

You are viewing documentation for Design Editor version 7.3, which is no longer actively maintained. For the latest features and updates, please refer to the current version (7.4).

Class: UIElementStateChangeEventArgs

Arguments of the UIElementStateChange event.

Example​

{
"element": "BottomToolbar.Zoom",
"isOpen": true
}

Constructors​

Constructor​

new UIElementStateChangeEventArgs(element, isOpen?): UIElementStateChangeEventArgs

Parameters​

element​

string

UI element that opens or closes. The current implementation only supports the TextPopup, BottomToolbar.Zoom, and BottomToolbar.Settings controls.

isOpen?​

boolean

If true, the element has been opened. If false, the element has been closed.

Returns​

UIElementStateChangeEventArgs

Properties​

element​

element: string

A UI element that opens or closes. The current implementation only supports the TextPopup, BottomToolbar.Zoom, and BottomToolbar.Settings controls.


isOpen?​

optional isOpen?: boolean

Whether the UI element is opened.

Remarks​

If true, the element has been opened. If false, the element has been closed.

Default Value​

false

Was this page helpful?