ํ๋ก์ ํธ
GitHub์์ ๋ณด๊ธฐ
NightCatSama/vue-slider-component
์๊ฐ
๐ก ๊ณ ๋๋ก ์ฌ์ฉ์ ์ง์ ํ ์ ์๋ ์ฌ๋ผ์ด๋ ์ปดํฌ๋ํธ
์น ๋ฐ ์ฑ ๊ฐ๋ฐWhat you can do
- ๐ More customizable
- ๐ Multiple style themes
- ๐ณ Support for more sliders
- ๐ Support Typescript
์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- -1
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
Original
๐ 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
Breaking Changes
value->modelValue. (Official API Changes)
โจ 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
Vue 2
<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>
Vue 3
<template>
<vue-slider v-model="value" />
</template>
<script setup>
import { reactive, toRefs } from 'vue'
import VueSlider from 'vue-slider-component'
import 'vue-slider-component/theme/antd.css'
export default {
setup() {
const data = reactive({ value: 0 })
return toRefs(data)
},
}
</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
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ