Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions<T>

An options object for initializing a widget. An options object for creating a main area widget.

Type parameters

  • T: Widget

Hierarchy

  • IOptions
    • IOptions

Index

Properties

Properties

content

content: T

The child widget to wrap.

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

Optional reveal

reveal: Promise<any>

An optional promise for when the content is ready to be revealed.

Optional toolbar

toolbar: Toolbar

The toolbar to use for the widget. Defaults to an empty toolbar.

Generated using TypeDoc