Skip to content

Commit 0013c6d

Browse files
authored
Merge pull request #363 from guillemc23/patch-1
Update README.md
2 parents 750b56e + 98a7735 commit 0013c6d

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

packages/slider/README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,25 @@ Or you can bind the value to some instance data using the `v-model` directive:
115115

116116
Inherite from NativeScript [Slider](https://docs.nativescript.org/ui/ns-ui-widgets/slider) so it already has all the same attributes.
117117

118-
* **elevation** _optional_
118+
- **stepSize** _optional_
119+
- An attribute to set the step size of the slider. Without this attribute, it behaves as a **continuous slider**.
120+
121+
- **elevation** _optional_
122+
- An attribute to set the elevation of the slider. This will increase the 'drop-shadow' of the slider.
123+
124+
- **rippleColor** _optional_
125+
- An attribute to set the ripple color of the slider.
126+
127+
- **trackFillColor** _optional_
128+
- Sets the color of the filled track.
129+
- Defaults to your theme's `colorPrimary`.
130+
131+
- **trackBackgroundColor** _optional_
132+
- Sets the color of the background track.
133+
134+
- **thumbColor** _optional_
135+
- Sets the color of the slider's thumb.
136+
- Defaults to your theme's `colorPrimary`.
119137

120-
An attribute to set the elevation of the slider. This will increase the 'drop-shadow' of the slider.
121138

122-
* **rippleColor** _optional_
123139

124-
An attribute to set the ripple color of the slider.

0 commit comments

Comments
 (0)