Skip to content

Vibe coding a plugin? 😎 Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

SliderOptions

Options of a slider.

optional decimals?: number

Shown decimals; 2 by default.


optional disabled?: boolean

Shows the widget grayed out; it ignores the user.

WidgetOptions.disabled


optional id?: string

Identifies the widget within its section, tab or column instead of its label.

WidgetOptions.id


optional integer?: boolean

Only whole numbers.


optional max?: number

1 by default.


optional min?: number

0 by default.


optional suffix?: string

Text after the value, such as "%".


optional tip?: string

Shown while the widget is hovered.

WidgetOptions.tip