vue-nouislider-fork

Fork of (https://github.com/horans/vue-nouislider)
1,334
Install
npm install vue-nouislider-fork
Latest Version:1.0.28
License:MIT
Last Updated:Aug 5, 2019
Links: npm
Maintainer: jbdev

Vue noUiSlider

a Vue component for noUiSlider that is forked and intended to look like Vuetify sliders

Install

npm i vue-nouislider-fork

main.js

import VNus from "vue-nouislider-fork"; import Vue from "vue"; Vue.use(VNus);

Basic Usage

Template

<v-nus :config="config" :value="values" @update="values = $event" />

JS

data: {
  config: {
    connect: [true, true, true],
    connectColors: ["blue", "red", "orange"],
    range: {
      min: [0],
      max: [100]
    }
  },
  values: [25, 75]
}

Advanced Usage

Customize Handle/Thumb Colors

Accepts HEX, RGB and classes.
<v-nus
  :color="red"
  thumb-color="red"
  :thumb-show="true"
  :config="config"
  :value="values"
/>

Disable Slider

Disable the slider. <v-nus :config="config" :value="values" :disabled="true" />

Customize ID

Prefixed with 'v-nus'.
<v-nus :id="custom-id" :config="config" :value="values" />

Show Log

<v-nus :log="true" :config="config" :value="values" />

References

Change Log

Version History

Version Released License
1.0.28 MIT
1.0.27 MIT
1.0.26 MIT
1.0.25 MIT
1.0.24 MIT