Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(mode, ?activate, ?title)

Full Usage: Options(mode, ?activate, ?title)

Parameters:
    mode : Mode - Opens the devtools with specified dock state, can be left, right, bottom, undocked, detach. Defaults to last used dock state. In undocked mode it's possible to dock back. In detach mode it's not.
    ?activate : bool - Whether to bring the opened devtools window to the foreground. The default is true.
    ?title : string - A title for the DevTools window (only in undocked or detach mode).

Returns: Options
mode : Mode

Opens the devtools with specified dock state, can be left, right, bottom, undocked, detach. Defaults to last used dock state. In undocked mode it's possible to dock back. In detach mode it's not.

?activate : bool

Whether to bring the opened devtools window to the foreground. The default is true.

?title : string

A title for the DevTools window (only in undocked or detach mode).

Returns: Options

Instance members

Instance member Description

this.activate

Full Usage: this.activate

Whether to bring the opened devtools window to the foreground. The default is true.

this.mode

Full Usage: this.mode

Opens the devtools with specified dock state, can be left, right, bottom, undocked, detach. Defaults to last used dock state. In undocked mode it's possible to dock back. In detach mode it's not.

this.title

Full Usage: this.title

A title for the DevTools window (only in undocked or detach mode).

Type something to start searching.