From 161fed24416b14f67123d0b63372bcde76658105 Mon Sep 17 00:00:00 2001 From: zhouxinyong Date: Wed, 8 Jun 2016 17:00:41 +0800 Subject: [PATCH] add npm installation to readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f7d4a4f..3223a53 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@ To install via Bower, simply do the following: ```bash $ bower install animate.css --save ``` +or you can install via npm: + +```bash +$ npm install animate.css --save +``` ##Basic Usage 1. Include the stylesheet on your document's `` @@ -146,7 +151,7 @@ http://api.jquery.com/one/ $('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething); ``` -[View a video tutorial](https://www.youtube.com/watch?v=CBQGl6zokMs) on how to use Animate.css with jQuery here. +[View a video tutorial](https://www.youtube.com/watch?v=CBQGl6zokMs) on how to use Animate.css with jQuery here. **Note:** `jQuery.one()` is used when you want to execute the event handler at most *once*. More information [here](http://api.jquery.com/one/).