Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(items, ?label, ?icon, ?showCloseButton)

Full Usage: Options(items, ?label, ?icon, ?showCloseButton)

Parameters:
    items : TouchBar - Items to display in the popover.
    ?label : string - Popover button text.
    ?icon : NativeImage - Popover button icon.
    ?showCloseButton : bool - true to display a close button on the left of the popover, false to not show it. Default is true.

Returns: Options
items : TouchBar

Items to display in the popover.

?label : string

Popover button text.

?icon : NativeImage

Popover button icon.

?showCloseButton : bool

true to display a close button on the left of the popover, false to not show it. Default is true.

Returns: Options

Instance members

Instance member Description

this.icon

Full Usage: this.icon

Popover button icon.

this.items

Full Usage: this.items

Items to display in the popover.

this.label

Full Usage: this.label

Popover button text.

this.showCloseButton

Full Usage: this.showCloseButton

true to display a close button on the left of the popover, false to not show it. Default is true.

Type something to start searching.