Skip to content

ElectronTouchBarSliderConstructorOptions

Unofficial

Options for creating a ElectronTouchBarSlider.

Import:

import type { ElectronTouchBarSliderConstructorOptions } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronTouchBarSliderConstructorOptions

Properties

PropertyTypeDescription
label?stringLabel text.
maxValue?numberMaximum value.
minValue?numberMinimum value.
value?numberSelected value.

Methods

MethodReturnsDescription
change(newValue)voidCallback invoked when the slider is changed.