Skip to main content

Popup API overview

Methods#

NameDescription
attach()attaches a DHTMLX component to a dhtmlxPopup
attachHTML()adds an HTML content into a dhtmlxPopup
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#

NameDescription
afterHidefires after a popup is hidden
afterShowfires after a popup is shown
beforeHidefires before a popup is hidden
beforeShowfires before a popup is shown
clickfires on clicking a popup

Properties#

NameDescription
cssadds style classes for the component