Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

An options object for initializing a widget. The instantiation options for a plugin list.

Hierarchy

  • IOptions

Index

Properties

Properties

confirm

confirm: function

A function that allows for asynchronously confirming a selection.

Notest

If the promise returned by the function resolves, then the selection will succeed and emit an event. If the promise rejects, the selection is not made.

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

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>.

registry

registry: ISettingRegistry

The setting registry for the plugin list.

Generated using TypeDoc