Skip to content

DivOverlay

Base model for Popup and Tooltip. Inherit from it for custom overlays like plugins.

Options

OptionTypeDefaultDescription
interactiveBooleanfalseIf true, the popup/tooltip will listen to the pointer events.
offsetPointPoint(0,The offset of the overlay position.
classNameString''A custom CSS class name to assign to the overlay.
paneStringundefinedMap pane where the overlay will be added.
content`StringHTMLElementFunction`

Events

EventDataDescription
contentupdateFired when the content of the overlay is updated