@@ -25,16 +25,18 @@ npm install --save svelte-number-spinner
2525
2626## Props
2727
28- | Prop | Type | Default | Description |
29- | -------------- | ------- | ----------- | ---------------------------- |
30- | value | Number | 0 | Input value |
31- | min | Number | -MAX_VALUE | Minimum value |
32- | max | Number | +MAX_VALUE | Maximum value |
33- | step | Number | 1 | Step |
34- | decimals | Number | 0 | Number of decimals |
35- | width | Number | 60 | Width of the component |
36- | height | Number | 25 | Height of the component |
37- | class | String | undefined | Custom component class name |
28+ | Prop | Type | Default | Description |
29+ | -------------- | ------- | ----------- | --------------------------------------- |
30+ | value | Number | 0 | Input value |
31+ | min | Number | -MAX_VALUE | Minimum value |
32+ | max | Number | +MAX_VALUE | Maximum value |
33+ | step | Number | 1 | Step |
34+ | decimals | Number | 0 | Number of decimals |
35+ | width | Number | 60 | Width of the component |
36+ | height | Number | 25 | Height of the component |
37+ | horizontal | Boolean | true | Change value by dragging horizontally |
38+ | vertical | Boolean | true | Change value by dragging vertically |
39+ | class | String | undefined | Custom component class name |
3840
3941<br />
4042
0 commit comments