Skip to content

BasesSliderOption

Official

Slider option.

Import:

import type { BasesSliderOption } from 'obsidian';

Signature:

export interface BasesSliderOption extends BasesOption

Extends: BasesOption

Properties

PropertyTypeDescription
default?numberDefault value.
displayNamestringDisplay name.
(Inherited from BasesOption)
instant?booleanIs instant.
keystringKey.
(Inherited from BasesOption)
max?numberMaximum value.
min?numberMinimum value.
shouldHide?() => booleanIf provided, the option will be hidden if the function returns true.
(Inherited from BasesOption)
step?numberStep.
type'slider'Type.