A LavishGUI 2 popup element is a standard Content Container element which can be Opened at a particular location. When Opened, the contentContainer is placed in the top level of the Layer, rendering atop other Elements.
Defining a popup element
A popup element is a Content Container with additional properties.
|Popup element properties|
|open||A boolean value specifying whether the popup is open (otherwise, it is collapsed)|
|Define these Event Handlers within an "eventHandlers" Object|
|onOpened||The popup is now Open|
|onClosed||The popup is no longer Open|