BETA
Sort by:
Sorting

All pages will be filtered by your selected preferences

Buy us a coffeePsst! We're working to help you locate only the best packages and tools. If you think we're doing a good job, buy us a coffee :)
Buy us a coffeePsst! We're working to help you locate only the best packages and tools. If you think we're doing a good job, buy us a coffee :)

xns-seek-bar

A seekable progress bar component for Vue.js


3
8 months ago
14

xns-seek-bar

A seekable progress bar component for Vue.js

xns-seek-bar

install

$ npm i xns-seek-bar

Import & initiate plugin on your entry js file

import XnsSeekBar from 'xns-seek-bar'

Vue.use(XnsSeekBar)

In Browser

// 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>

Example

<xns-seek-bar :bar-color="'#ffdd00'" :current-value="33" :total-value="100"></xns-seek-bar>

Options

OptionTypeRequiredDefault
currentValueNumberfalse0
totalValueNumberfalse300
listenBooleanfalsetrue
barHeightNumberfalse0.5
barColorString (Hex)falsefalse
barShadeColorString (Hex)falsefalse
intensityNumber (0.1 - 1))false0

Options Details

listen : Enable touch / tap.

Events

seekedTo Returns a Number representing value of seeked position.