{"name":"css-animation","description":"css-animation","version":"1.6.0","license":"MIT","pika":true,"sideEffects":false,"keywords":["css-animation"],"homepage":"http://github.com/yiminghe/css-animation","bugs":{"url":"http://github.com/yiminghe/css-animation/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/yiminghe/css-animation.git"},"dependencies":{"component-classes":"^1.2.6"},"devDependencies":{"@pika/plugin-build-types":"^0.5.1","@pika/plugin-build-web":"^0.5.1","@pika/plugin-standard-pkg":"^0.5.1","@pika/types":"^0.5.1","@storybook/react":"^5.1.9","@storybook/storybook-deployer":"^2.8.1","babel-loader":"^8.0.6","lint-staged":"^9.2.1","pre-commit":"1.x","prettier":"^1.18.2","react":"16.x","react-dom":"16.x"},"esnext":"dist-src/index.js","module":"dist-web/index.js","_id":"css-animation@1.6.0","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ADautdbBBkz/xOyuDFB9eQ0hUGe7UrIRm7TPDIZGD/16qz5E3/56d1egqNv3gzzo1+Sy3dJcGjG3WhqLcq2Umw==","shasum":"7d8b6b65c7301c17c46446240225abe9205fc3d1","tarball":"http://registry-npm.ywwl.com/css-animation/download/css-animation-1.6.0.tgz","fileCount":6,"unpackedSize":20494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPI1vCRA9TVsSAnZWagAADZYQAIW/ul4CZFVOc47y4Huu\n/QYRgfo0A5eBYtKwoA9b/i7rhjRwVm9rR/nHKpf1LeBJkQbWBXwWiFD4uE7p\nBOHI+5jwbTZj/f6RCoeB5ayCqU59TH8MwCIJ9jDDXvL8WGRROGiotSj+3NTC\nva3oZ2qx4zk5LlxTi80hZK1GbCbcyxt3djKAqmexGNRoqj3e6/Af93CCE/W8\nTDKG7XTCVppXFMe9U3s4AJIHG81leXNhD3KJfYcOhl4LrxpQGFNvmwGFlDmZ\ned8UZU33vCeDnBC6KIIhBfI1l8OVHWDbajHVfg6ZMsMDjmxin+XEofWHCTZz\ns+NkwaBCwmoYOTd4KgRGO+JN9EFov3mjSFQE0S6pGaho08YMhyFk+7N7qg1E\ngK3z041GIk50GHnKaki0vAVQcBA3SwujyO6+WAPPvDZfqHSNhWuHUEQEZ+O0\nXDqxG1s5GQYdKEcAe/50m2vYYojArQ8gBmduFKWGU4VPPmByvku5ujUzhw6y\nqo3M/EHmcll9sGBvvN6y1zKlht0Eau8bXaNo8V94Fm+esVB8qCjbCmL2WJAv\n327CK5nRJeX5+5qbDReIu9FrvckdE267tNnb00v2pCSYsH4KOY8+S4N0LYUX\nvOjKkTVredcAsJCZ+WWiAuPoRBuD2n9NZsZKrUGVolrzlC0ROHAU+k5+mo7e\nxTGk\r\n=VsLF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSUP5i8RRGoEXUt2nlwtm78XDURY90gGkDieJRTEL0+wIgDtPokLRwaIYxpKco655nGloAyNqiMuBu6/rC/wKk+i8="}],"size":4090,"noattachment":false,"key":"/css-animation/-/css-animation-1.6.0.tgz"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-animation_1.6.0_1564249454783_0.018571138674390086"},"_hasShrinkwrap":false,"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":1564249454881,"_cnpm_publish_time":1564249454881,"dist-tags":{"latest":"2.0.4"}}