New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vue-count

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-count

a plugin of count for vue.js

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

vue-count

a plugin of count for Vue.js

Installation

  • <script> Include

    Just include vue-count.js after Vue itself.

  • With Modules

    npm install --save-dev vue-count

    // ES6
    // use Vue.use()
    import Vue from 'vue'
    import VueCount from 'vue-count'
    Vue.use(VueCount)
    
    // or use component
    import VueCount from 'vue-count'
    component: {
      VueCount
    }
    
    

Component Properties

  • min required

    Number

    The number of minimum value

  • max required

    Number

    The number of max value

  • options

    Object

    • duration

      Number

      Default: 2

      The count duration (unit for seconds)

    • reverse

      Boolean

      Default: false

      The number from min to max or from max to min

    • decimal

      Number

      Default: 0

      The places of how many decimal to keep

    • 'useGroup'

      Boolean

      Default: false

      Whether to use group

FAQs

Package last updated on 11 Feb 2017

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