ElectronTouchBarSliderConstructorOptions
Unofficial
Options for creating a ElectronTouchBarSlider.
Import:
import type { ElectronTouchBarSliderConstructorOptions } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronTouchBarSliderConstructorOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| label? | string | Label text. | |
| maxValue? | number | Maximum value. | |
| minValue? | number | Minimum value. | |
| value? | number | Selected value. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| change(newValue) | void | Callback invoked when the slider is changed. |