
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
vue-material-slider
Advanced tools
A material design slider build with vue. [Live demo](https://codesandbox.io/s/priceless-raman-6s9ey?file=/src/App.vue)
A material design slider build with vue. Live demo
npm install vue-material-slider --save
Import and use in vue individually
import Vue from 'vue'
import "vue-material-slider/dist/vue-material-slider.css";
import { Slider, RangeSlider } from "vue-material-slider";
Install all at once
import 'vue-material-slider/dist/vue-material-slider.css';
import VueMaterialSlider from 'vue-material-slider';
Vue.use(VueMaterialSlider);
Use in your components
<template>
<vue-material-slider
:min="10"
:max="20"
v-model="value"
/>
</template>
<script>
export default {
data() {
return {
value: 0
}
}
}
</script>
<template>
<vue-material-range-slider v-model="value" />
</template>
<script>
export default {
data() {
return {
// Each array value corresponds to a new thumb
value: [0, 25, 50]
}
}
}
</script>
Prop | Type | default | Description |
---|---|---|---|
min | number | 0 | The minimum value of the slider |
max | number | 100 | The maximum value of the slider |
thumbLabel | boolean | false | Whether or not to show the label |
invert | boolean | false | Set to true to reverse the slider |
vertical | boolean | false | Set to true to make the slider vertical |
displayWith | function | null | Function that will be used to format the value before it is displayed in the thumb label. Can be used to format very large number in order for them to fit into the slider thumb. |
disabled | boolean | false | Whether the component is disabled. |
stepSize | number | 1 | The size of each step |
FAQs
A material design slider build with vue. [Live demo](https://codesandbox.io/s/priceless-raman-6s9ey?file=/src/App.vue)
The npm package vue-material-slider receives a total of 18 weekly downloads. As such, vue-material-slider popularity was classified as not popular.
We found that vue-material-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.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.