File tree Expand file tree Collapse file tree 4 files changed +31
-30
lines changed Expand file tree Collapse file tree 4 files changed +31
-30
lines changed Original file line number Diff line number Diff line change 11# CountUp.js Angular 1.x Module
2- Attribute directive used to quickly create animations that display numerical data in a more interesting way.
32
4- Despite its name, CountUp can count in either direction, depending on the ` startVal ` and ` endVal ` params that you pass .
3+ Animates a numerical value by counting to it .
54
6- CountUp.js supports all browsers .
5+ Despite its name, CountUp can count in either direction, depending on the ` start-val ` and ` end-val ` attributes that you pass .
76
87### [ Demo (CountUp + angular-scroll-spy)] ( http://inorganik.github.io/angular-scroll-spy/ )
98
109## See Also
1110
12- - [ CountUp.js repo] ( https://github.com/inorganik/countUp.js )
13- - [ CountUp.js for Angular 2] ( https://github.com/inorganik/countUp.js-angular2 )
11+ - ** [ CountUp.js repo] ( https://github.com/inorganik/countUp.js ) **
12+ - ** [ CountUp.js Angular ^2 Module] ( https://github.com/inorganik/countUp.js-angular2 ) **
13+ - ** [ CountUp.js React] ( https://github.com/glennreyes/react-countup ) **
14+ - ** [ CountUp.js WordPress Plugin] ((https://wordpress.org/plugins/countup-js/ )**
1415
1516## Usage
1617
Original file line number Diff line number Diff line change 11{
2- "name" : " countUp.js-angular1" ,
3- "main" : [" dist/angular-countUp.js" ],
4- "author" : " Jamie Perkins" ,
5- "dependencies" : {
6- "countUp.js" : " ^1.8.5"
7- },
8- "ignore" : [
9- " LICENSE.md" ,
10- " README.md" ,
11- " contributing.md" ,
12- " gulpfile.js" ,
13- " component.json" ,
14- " index.html"
15- ]
2+ "name" : " countUp.js-angular1" ,
3+ "main" : [" dist/angular-countUp.js" ],
4+ "author" : " Jamie Perkins" ,
5+ "dependencies" : {
6+ "countUp.js" : " ^1.8.5"
7+ },
8+ "ignore" : [
9+ " LICENSE.md" ,
10+ " README.md" ,
11+ " contributing.md" ,
12+ " gulpfile.js" ,
13+ " component.json" ,
14+ " index.html"
15+ ]
1616}
Original file line number Diff line number Diff line change @@ -4,18 +4,18 @@ var rename = require('gulp-rename');
44var del = require ( 'del' ) ;
55
66gulp . task ( 'clean' , function ( cb ) {
7- del ( [ 'dist/*' ] ) ;
8- return cb ( ) ;
7+ del ( [ 'dist/*' ] ) ;
8+ return cb ( ) ;
99} ) ;
1010
1111gulp . task ( 'build' , [ 'clean' ] , function ( file ) {
12- var angularCountup = gulp
13- . src ( 'angular-countUp.js' )
14- . pipe ( uglify ( ) )
15- . pipe ( rename ( {
16- suffix : '.min'
17- } ) )
18- . pipe ( gulp . dest ( 'dist/' ) ) ;
12+ var angularCountup = gulp
13+ . src ( 'angular-countUp.js' )
14+ . pipe ( uglify ( ) )
15+ . pipe ( rename ( {
16+ suffix : '.min'
17+ } ) )
18+ . pipe ( gulp . dest ( 'dist/' ) ) ;
1919} ) ;
2020
2121gulp . task ( 'default' , [ 'build' ] ) ;
Original file line number Diff line number Diff line change 11{
2- "name" : " countup.js-angular-1 " ,
3- "description" : " Animates a numerical value by counting to it" ,
2+ "name" : " countup.js-angular1 " ,
3+ "description" : " Animates a numerical value by counting to it, for Angular 1.x " ,
44 "version" : " 1.0.0" ,
55 "license" : " MIT" ,
66 "main" : " ./dist/angular-countUp.min.js" ,
You can’t perform that action at this time.
0 commit comments