[]
When the owner element or the popup lose focus.
When the owner element loses focus.
When the popup loses focus.
When the user clicks the owner element or the popup.
When the owner element or the popup are clicked or lose focus.
When the user clicks the owner element.
When the user clicks the popup.
When the mouse button is pressed over the owner element or the popup.
When the mouse button is pressed over the owner element.
When the mouse button is pressed over the popup.
When the mouse enters the owner element or the popup.
When the mouse enters the owner element.
When the mouse enters the popup.
When the mouse leaves the owner element or the popup.
When the mouse leaves the owner element.
When the mouse leaves the popup.
No triggers; popups must be shown and hidden using code.
Specifies actions that trigger showing and hiding Popup controls.
The PopupTrigger actions are flags that may be combined using binary operators. For example:
let popup = new Popup('#popup', { // set popup owner to 'show' button owner: '#btn-show' // show the popup when clicking the button showTrigger: PopupTrigger.ClickOwner, // hide the popup when clicking the button or when the mouse leaves the popup hideTrigger: PopupTrigger.ClickOwner | PopupTrigger.LeavePopup, });