🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

vue-count-component

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-count-component

A count-to component of vue

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

vue-count-componet

A count-to component of vue

Use Setup

# install dependencies
npm install vue-count-component -S

# use
main.js
import CountComponent from 'vue-count-component' 
Vue.use(CountComponent)

everyone.vue
import CountComponent from 'vue-count-component' 
components:{
    CountComponent
}

<count-component :startVal='0' :endVal='2018'/></count-component>
  • startVal = 起始值 the value you want to begin at
  • endVal = 结束值 the value you want to arrive at
  • decimals = 小数点后保留位数 (optional) number of decimal places in number, default 0
  • duration = 时间 (optional) duration in seconds, default 2
  • options = see countUp.js or demo

Keywords

count

FAQs

Package last updated on 02 Dec 2018

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