PopupBase Class
An abstract representation of the popup definition that potentially references many Popup instances. Handle and target properties might use selectors.
Item Index
Properties
Methods
_getActualHandle
-
[selector]
Finds and returns actual DOM nodes of popup handles, one or more. Used selector
Returns:
result An array of one or more jQuery objects that works as popup handles
_spawnPopups
-
[selector]
Finds and returns an array of Popup objects, one or more, identified in the PopupBase.
Returns:
popups An array of one or more }{{/crossLink}} objects
close
-
[selector]
Closes all the popups described by this PopupBase instance.
isOpen
-
[selector]
Checks if any of the popups described by this PopupBase is closed.
Returns:
result True if any of the described popup are open; false otherwise
open
-
[selector]
Opens all the popups described by this PopupBase instance.
setTargetAttr
-
[visible]
Sets the appropriate aria-* attributes to the popup nodes according to the supplied visible
parameter or with the internal state of the popup.
Parameters:
-
[visible]
Boolean optionalIndicating the internal state of the popup
toggle
-
[selector]
-
[state]
Toggles all the popups described by this PopupBase instance.