Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

An options object for initializing a widget. Options for creating a Popup widget.

Hierarchy

  • IOptions

Index

Properties

Properties

Optional align

align: "left" | "right"

Whether to align the popup to the left or the right of the anchor.

anchor

anchor: Widget

The widget to which we are attaching the popup.

body

body: Widget

The content of the popup.

Optional node

node: HTMLElement

The optional node to use for the widget.

If a node is provided, the widget will assume full ownership and control of the node, as if it had created the node itself.

The default is a new <div>.

Generated using TypeDoc