Skip to content

piolet/vue-slider-component

 
 

Repository files navigation

banner

downloads npm-version license

๐ŸŽš A highly customized slider component

English | ็ฎ€ไฝ“ไธญๆ–‡

๐Ÿ‰ Vue3.x

This is still in beta and may contain unexpected bugs, please use with caution.

install

$ yarn add vue-slider-component@next
# npm install vue-slider-component@next --save

Caution

  • Change data to v-data for now due to a type conflict. (Probably a temporary modification)

โœจ Features

  • ๐Ÿ– More customizable
  • ๐Ÿ‘— Multiple style themes
  • ๐Ÿณ Support for more sliders
  • ๐Ÿ“Œ Add marks
  • ๐ŸŽ‰ Support SSR
  • ๐Ÿ’ Support Typescript

๐Ÿ“š Documentation

Document: https://nightcatsama.github.io/vue-slider-component

Live Demo: https://jsfiddle.net/NightCatSama/2xy72dod/10547/

๐ŸŽฏ install

$ yarn add vue-slider-component
# npm install vue-slider-component --save

๐Ÿš€ Usage

<template>
  <vue-slider v-model="value" />
</template>

<script>
import VueSlider from 'vue-slider-component'
import 'vue-slider-component/theme/antd.css'

export default {
  components: {
    VueSlider
  },
  data () {
    return {
      value: 0
    }
  }
}
</script>

Changelog

Detailed changes for each release are documented in the release notes.

Support

If my code has helped you, please consider buy me a coffee โ˜•๏ธ.

License

MIT

About

๐ŸŒก A highly customized slider component

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 71.7%
  • SCSS 13.4%
  • Vue 10.8%
  • JavaScript 2.9%
  • Other 1.2%