Socket
Socket
Sign inDemoInstall

xns-seek-bar

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xns-seek-bar

A seekable progress bar component for Vue.js


Version published
Weekly downloads
3
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 10 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc