Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 41d1a8a

Browse files
author
Kamil Kisiela
committed
Add slider documentation to readme
1 parent ea0df1a commit 41d1a8a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,38 @@ delete-hint attribute value
218218
}
219219
```
220220

221+
### slider
222+
223+
**min (number, optional)**
224+
225+
default 1
226+
227+
**max (number, optional)**
228+
229+
default 100
230+
231+
**step (number, optional)**
232+
233+
default 1
234+
235+
**discrete (boolean, optional)**
236+
237+
default false (md-discrete)
238+
239+
```javascript
240+
{
241+
"type": "slider",
242+
"key": "rate",
243+
"templateOptions": {
244+
"theme": "custom",
245+
"min": 1,
246+
"max": 5,
247+
"step": 0.5,
248+
"discrete": true
249+
}
250+
}
251+
```
252+
221253

222254
## Wrappers
223255

0 commit comments

Comments
 (0)