Skip to content

BasesSliderOption

Official

Slider option.

Import:

import type { BasesSliderOption } from 'obsidian';

Signature:

export interface BasesSliderOption extends BasesOption

Extends: BasesOption

Properties

Property Type Description
default? number Default value.
displayName string Display name.
(Inherited from BasesOption)
instant? boolean Is instant.
key string Key.
(Inherited from BasesOption)
max? number Maximum value.
min? number Minimum value.
shouldHide? () => boolean If provided, the option will be hidden if the function returns true.
(Inherited from BasesOption)
step? number Step.
type 'slider' Type.