Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions

An options object for initializing a widget. The options used to initialize a MimeDocument.

Hierarchy

  • IOptions

Index

Properties

context

context: IContext<IModel>

Context

Optional dataType

dataType: "string" | "json"

Preferred data type from the model.

mimeType

mimeType: string

The mime type.

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

renderTimeout

renderTimeout: number

The render timeout.

renderer

renderer: IRenderer

The renderer instance.

Generated using TypeDoc