{"name":"css-animation","version":"1.0.3","description":"css-animation ui component for react","keywords":["css-animation"],"homepage":"http://github.com/yiminghe/css-animation","author":"","repository":{"type":"git","url":"git+ssh://git@github.com/yiminghe/css-animation.git"},"bugs":{"url":"http://github.com/yiminghe/css-animation/issues"},"licenses":"MIT","main":"./lib/index","config":{"port":9001},"scripts":{"build":"rc-tools run build","precommit":"rc-tools run precommit","less":"rc-tools run less","gh-pages":"rc-tools run gh-pages","start":"node --harmony node_modules/.bin/rc-server","publish":"rc-tools run tag","lint":"rc-tools run lint","saucelabs":"node --harmony node_modules/.bin/rc-tools run saucelabs","browser-test":"node --harmony node_modules/.bin/rc-tools run browser-test","browser-test-cover":"node --harmony node_modules/.bin/rc-tools run browser-test-cover"},"devDependencies":{"expect.js":"0.3.x","precommit-hook":"1.x","rc-server":"3.x","rc-tools":"3.x","react":"0.13.x","node-dev":"2.x"},"precommit":["precommit"],"gitHead":"85e09427b998c22018eca0374de6c0db3b958096","_id":"css-animation@1.0.3","_shasum":"0f57fa93c70089584a3f3cdc4d9143dbb611b2ca","_from":".","_npmVersion":"2.11.0","_nodeVersion":"0.12.0","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"0f57fa93c70089584a3f3cdc4d9143dbb611b2ca","tarball":"http://registry-npm.ywwl.com/css-animation/download/css-animation-1.0.3.tgz","integrity":"sha512-1w3UIPrPUKG1xdZBcXM28bDWL0+WR1RqQgmfHaSFux68zqW5Dh7+BAgJDdjw7tuWJFTSF5dha07L/56BoYANxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpta8OvMoaIq/ngCkJeCQCr4B0uquZSZSw7MOyYu8BHAiAyvcpHGeya7iBFwSZsHneV+Fm9r06Ln5GxFhgs1gG/kw=="}],"size":2534,"noattachment":false,"key":"/css-animation/-/css-animation-1.0.3.tgz"},"directories":{},"readme":"# css-animation\n---\n\nmake css animation easier\n\n[![NPM version][npm-image]][npm-url]\n\n[npm-image]: http://img.shields.io/npm/v/css-animation.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/css-animation\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Example\n\nhttp://localhost:6006/\n\nonline example: http://yiminghe.github.io/css-animation/\n\n\n## Feature\n\n* support ie8,ie8+,chrome,firefox,safari\n\n## install\n\n[![css-animation](https://nodei.co/npm/css-animation.png)](https://npmjs.org/package/css-animation)\n\n## Usage\n\n```js\nimport anim from 'css-animation';\nanim(el,animationName,function(){});\n```\n\n## API\n\n### void anim(el:DOMElement, animationName:String, callback:Function)\n\n<table class=\"table table-bordered table-striped\">\n    <thead>\n    <tr>\n        <th style=\"width: 100px;\">name</th>\n        <th style=\"width: 50px;\">type</th>\n        <th style=\"width: 50px;\">default</th>\n        <th>description</th>\n    </tr>\n    </thead>\n    <tbody>\n        <tr>\n          <td>el</td>\n          <td>DOMElement</td>\n          <td></td>\n          <td>dom element to be animated</td>\n        </tr>\n        <tr>\n          <td>animationName</td>\n          <td>String|Object</td>\n          <td></td>\n          <td>will add animationName (if string) or animationName.name (if object) as class to el, then setTimeout 0 to add ${animationName}-active (if string) or animationName.active (if object) to el</td>\n        </tr>\n        <tr>\n          <td>callback</td>\n          <td>Function</td>\n          <td></td>\n          <td>triggered when anim caused by animationName is done</td>\n        </tr>\n    </tbody>\n</table>\n\n## License\n\ncss-animation is released under the MIT license.\n","publish_time":1433779281896,"_cnpm_publish_time":1433779281896,"dist-tags":{"latest":"2.0.4"}}