Popover

A box that floats next to an anchor, see ControlManager.popover: not modal, the rest of the panel keeps working. It follows its anchor, and hides while there is none.

Properties

Link copied to clipboard
val anchor: () -> Rectangle?

the area of the window it is next to, read in every frame; null hides it

Link copied to clipboard
val box: Div

the box with the content, a popover

Link copied to clipboard
val closed: Event<Popover>

happens when the popover is closed

Link copied to clipboard

true when a press outside it and its anchor, or escape, closes it

Link copied to clipboard

opening a popover of the same group closes this one, none for no group

Link copied to clipboard

true while the popover is shown

Link copied to clipboard

Functions

Link copied to clipboard
fun close()

closes the popover; the keyboard focus leaves it