---
title: "UIElementStateChangeEventArgs Class"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.postmessage.uielementstatechangeeventargs.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# UIElementStateChangeEventArgs Class

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
Arguments of the [Events.UIElementStateChange](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.postmessage.events.htm.md) event.
  
 - example
     - ```

{
   "element": "BottomToolbar.Zoom",
   "isOpen": true
}
```
 
## Properties
 
### element
 
element: string

UI element that opens or closes. The current implementation supports the `TextPopup`, `BottomToolbar.Zoom`, and `BottomToolbar.Settings` controls.
 
### Optional isOpen
 
isOpen: boolean

If `true`, the element has been opened. If `false`, the element has been closed.
