1.0.1 • Published 3 years ago
@meveo-org/mv-slider v1.0.1
mv-slider
MvSlider is a Meveo slider component based on lit-element.
Quick Start
To experiment with the MvSlider component.
Clone this repo.
Serve the project from the root directory with some http server (best served with meveo itself)
Update the slider demo component in demo.js file
The mv-slider has:
- 2
typevariants:
default, double- 2
themevariants:
dark, lightSample usage
<mv-slider
width="300" //the width for the slider
type="double" //use the default or double slider
.theme="${theme}" //toggle the light and dark theme mode
max="12.7" //the max value for the slider
@silder-change="${this.changeValue}" //custom event dispatched when the silder value is changed
></mv-slider> You can also check this demo