Options Type
Constructors
| Constructor |
Description
|
Full Usage:
Options(items, ?select, ?highlight, ?selectedStyle, ?overlayStyle, ?showArrowButtons, ?mode, ?continuous)
Parameters:
ScrubberItem[]
-
An array of items to place in this scrubber.
?select : int -> unit
-
Called when the user taps an item that was not the last tapped item.
?highlight : int -> unit
-
Called when the user taps any item.
?selectedStyle : SelectedStyle
-
Selected item style. Can be background, outline or none. Defaults to none.
?overlayStyle : OverlayStyle
-
Selected overlay item style. Can be background, outline or none. Defaults to none.
?showArrowButtons : bool
-
Whether to show arrow buttons. Defaults to false and is only shown if items is non-empty.
?mode : Mode
-
Can be fixed or free. The default is free.
?continuous : bool
-
Defaults to true.
Returns: Options
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.continuous
|
Defaults to true. |
Full Usage:
this.highlight
|
Called when the user taps any item. |
Full Usage:
this.items
|
An array of items to place in this scrubber. |
Full Usage:
this.mode
|
Can be fixed or free. The default is free. |
Full Usage:
this.overlayStyle
|
Selected overlay item style. Can be background, outline or none. Defaults to none. |
Full Usage:
this.select
|
Called when the user taps an item that was not the last tapped item. |
Full Usage:
this.selectedStyle
|
Selected item style. Can be background, outline or none. Defaults to none. |
Full Usage:
this.showArrowButtons
|
Whether to show arrow buttons. Defaults to false and is only shown if items is non-empty. |
fable-electron-docs-api