A button that produces a popup when clicked. This is a type of
PopupSource, and simply uses a button
as the element the user clicks on to produce a popup.
Live demo
$demo.append(
X
Class relationships
This shows the control's base classes (in black), other classes
used by the control, and any subclasses.
True if the popup should open when the user clicks in the control's
content. Default is true. From PopupSource.
opened
Returns true if the popup is currently opened. From PopupSource.
overlayClass
The class used to render the overlay behind the popup. From PopupSource.
popup
The content of the popup associated with the control. From PopupSource.
positionPopup
Position the popup with respect to the content. By default, this will
position the popup below the content if the popup will fit on the page,
otherwise show the popup above the content. Similarly, align the popup with
the content's left edge if the popup will fit on the page, otherwise right-
align it.
Subclasses can override this for custom positioning. From PopupSource.