lion/packages/input-range/README.md
2020-01-23 18:24:38 +01:00

28 lines
640 B
Markdown

# Input range
[//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input-range` component is based on the native range input.
Its purpose is to provide a way for users to select one value from a range of values.
## Live Demo/Documentation
> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-input-range--default-story) for a live demo and API documentation
## How to use
### Installation
```sh
npm i --save @lion/input-range
```
```js
import '@lion/input-range/lion-input-range.js';
```
### Example
```html
<lion-input-range min="200" max="500" .modelValue="${300}" label="Input range"></lion-input-range>
```