Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(?availableColors, ?selectedColor, ?change)

Full Usage: Options(?availableColors, ?selectedColor, ?change)

Parameters:
    ?availableColors : string[] - Array of hex color strings to appear as possible colors to select.
    ?selectedColor : string - The selected hex color in the picker, i.e #ABCDEF.
    ?change : string -> unit - Function to call when a color is selected.

Returns: Options
?availableColors : string[]

Array of hex color strings to appear as possible colors to select.

?selectedColor : string

The selected hex color in the picker, i.e #ABCDEF.

?change : string -> unit

Function to call when a color is selected.

Returns: Options

Instance members

Instance member Description

this.availableColors

Full Usage: this.availableColors

Array of hex color strings to appear as possible colors to select.

this.change

Full Usage: this.change

Function to call when a color is selected.

this.selectedColor

Full Usage: this.selectedColor

The selected hex color in the picker, i.e #ABCDEF.

Type something to start searching.