You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[CountUp.js for Angular 2](https://github.com/inorganik/countUp.js)
14
+
15
+
## Usage
16
+
17
+
Inject `countUpModule`. Use the `count-up` attribute to quickly create an animation. It also integrates nicely with the [Angular-scroll-spy](http://inorganik.github.io/angular-scroll-spy/) directive.
18
+
19
+
Attributes:
20
+
-`end-val: Number` (required)
21
+
-`start-val: Number`
22
+
-`duration: Number`
23
+
-`decimals: Number`
24
+
-`options: Object` (see [CountUp](https://github.com/inorganik/countUp.js))
[`countup.js`](https://github.com/inorganik/countUp.js) is configured as a dependency in `package.json`. If you are manually including dependencies, make sure to include:
39
+
-`countUp.min.js`
40
+
-`angular-countUp.min.js`
41
+
42
+
## Contributing
43
+
44
+
Before you make a pull request, please be sure to follow these simple instructions:
45
+
46
+
1. Do your work on `angular-countUp.js` in the root directory.
47
+
2. In Terminal, `cd` to the repo directory.
48
+
3. Run `npm install`, which installs gulp and its dependencies.
49
+
4. Run `gulp`, which copies and minifies the .js files to the `dist` folder.
0 commit comments