@univerjs/design v0.5.0-beta.1 • Docs
Interface: ISliderProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
disabled? | boolean | Whether the slider is disabled Default false | submodules/univer/packages/design/src/components/slider/Slider.tsx:47 |
max? | number | The maximum value the slider can slide to Default 400 | submodules/univer/packages/design/src/components/slider/Slider.tsx:41 |
min? | number | The minimum value the slider can slide to Default 0 | submodules/univer/packages/design/src/components/slider/Slider.tsx:35 |
onChange? | (value : number ) => void | (value) => void | submodules/univer/packages/design/src/components/slider/Slider.tsx:59 |
resetPoint? | number | The maximum value the slider can slide to Default 100 | submodules/univer/packages/design/src/components/slider/Slider.tsx:53 |
shortcuts? | number [] | Shortcuts of slider | submodules/univer/packages/design/src/components/slider/Slider.tsx:56 |
value | number | The value of slider. When range is false, use number, otherwise, use [number, number] | submodules/univer/packages/design/src/components/slider/Slider.tsx:29 |