Options for creating a Popup widget.

interface IOptions {
    align?: "left" | "right";
    anchor: Widget;
    body: Widget;
    hasDynamicSize?: boolean;
    startHidden?: boolean;
}

Properties

align?: "left" | "right"

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

anchor: Widget

The widget to which we are attaching the popup.

body: Widget

The content of the popup.

hasDynamicSize?: boolean

Whether the body has dynamic size or not. By default, this is false.

startHidden?: boolean

Whether to start the popup in hidden mode or not. By default, this is false.

Note

The popup can be displayed using launch method.