A seekable progress bar component for Vue.js
$ npm i xns-seek-bar
import XnsSeekBar from 'xns-seek-bar'
Vue.use(XnsSeekBar)
// Latest update
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/xns-seek-bar/dist/index.umd.js"></script>
<xns-seek-bar :bar-color="'#ffdd00'" :current-value="33" :total-value="100"></xns-seek-bar>
Option | Type | Required | Default |
---|---|---|---|
currentValue | Number | false | 0 |
totalValue | Number | false | 300 |
listen | Boolean | false | true |
barHeight | Number | false | 0.5 |
barColor | String (Hex) | false | false |
barShadeColor | String (Hex) | false | false |
intensity | Number (0.1 - 1)) | false | 0 |
listen : Enable touch / tap.
seekedTo Returns a Number representing value of seeked position.