live-digits

AngularJS module for slide animation digits inside numbers
Homepage:
1 person uses it
Author: 1160107?v=3 uditalias

live-digits v1.0.0

AngularJS module for slide animation digits inside numbers

Working Demo

installation

$ bower install --save live-digits

usage

Just import live-digits.min.js and live-digits.min.css and add it to your app module as udidu.live-digits

use the directive like this example:

<live-digits value="liveValue|currency" duration="300"></live-digits>

options

The only 2 options you can config are value and duration

The value is the number (or string yeah!) which will be watched by the directive to animate the value change.

The duration is optional and specifies the animation duration in milliseconds (default is 200).

dependencies

angular: >=1.x jquery: >=1.x

build

Clone the project and run:

The dist/ folder will erase and the new build files will be copy into it

license

MIT

comments powered by Disqus
This page was last updated over 2 years ago.