Popup API overview
Methods
| Name | Description | 
|---|---|
| attach() | attaches a DHTMLX component to a DHTMLX Popup | 
| attachHTML() | adds an HTML content into a DHTMLX Popup | 
| destructor() | removes a popup instance and releases occupied resources | 
| getContainer() | returns the HTML element of Popup | 
| getWidget() | returns the widget attached to Popup | 
| hide() | hides a Popup | 
| isVisible() | checks whether a popup is visible | 
| paint() | repaints a popup on a page | 
| show() | shows a Popup | 
Events
| Name | Description | 
|---|---|
| afterHide | fires after a popup is hidden | 
| afterShow | fires after a popup is shown | 
| beforeHide | fires before a popup is hidden | 
| beforeShow | fires before a popup is shown | 
| click | fires on clicking a popup | 
Properties
| Name | Description | 
|---|---|
| css | Optional. Adds style classes for the component |