
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
v-range-slider
Advanced tools
Simple slider component of Vue.js
input[type="range"] behaviorinput, change event supportVue >= 2.0
npm install --save v-range-slider
Import the v-range-slider component and use it in your components, such as:
<template>
<range-slider
min="10"
max="1000"
step="10"
v-model="sliderValue">
</range-slider>
</template>
<script>
import RangeSlider from 'v-range-slider'
export default {
data () {
return {
sliderValue: 50
}
},
components: {
RangeSlider
}
}
</script>
<style>
/* in case you need to import the built-in styles */
@import '~v-range-slider/dist/v-range-slider.css';
</style>
name - name of the slider input.value - current value of the slider.disabled - if true, the slider value cannot be updated.min - minimum value of the slider.max - maximum value of the slider.step - granularity of the slider value. e.g. if this is 3, the slider value will be 3, 6, 9, ...no-calibration - turn off calibrationcalibration-count - determines how steps to split calibration into e.g. a min of 0 and max of 10 with a calibration count of 5 will use display 0, 2, 4, 6, 8, 10no-popover - turn off popover functionalityknob - slot for replacing knobpopover - slot for replacing popoverMIT
FAQs
Range slider component for Vue JS
The npm package v-range-slider receives a total of 127 weekly downloads. As such, v-range-slider popularity was classified as not popular.
We found that v-range-slider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.