Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions<T, U>

Type parameters

Hierarchy

Index

Properties

content

content: T

The child widget to wrap.

Optional contentHeader

contentHeader: BoxPanel

The layout to sit underneath the toolbar and above the content, and that extensions can populate. Defaults to an empty BoxPanel.

context

context: IContext<U>

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 tag

tag: "object" | "code" | "main" | "header" | "menu" | "a" | "abbr" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "link" | "map" | "mark" | "marquee" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr"

The optional element tag, used for constructing the widget's node.

If a pre-constructed node is provided via the node arg, this value is ignored.

Optional toolbar

toolbar: Toolbar<Widget>

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

Optional translator

translator: ITranslator

The application language translator.

Generated using TypeDoc