{"name":"css-animation","description":"css-animation","version":"2.0.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@2.0.0","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Mbqc3ukiOWIOEp8vzVP2Q8yq7bxd8mkvXIQkcam6+qlunE1T15ifQoWz9nR6W1C2aGrWwlf+KIm3gkj2ws4LBw==","shasum":"f40775d88c7f627adf8b2d9734b27c980102ba46","tarball":"http://registry-npm.ywwl.com/css-animation/download/css-animation-2.0.0.tgz","fileCount":6,"unpackedSize":20491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPaq6CRA9TVsSAnZWagAAn9gP/1cNxDCibwTSaACvuAvW\nNRFK6F24i7WkrffMIY7G735o2e5jvm8KHXixe3IMLxmYYbwjaUsD0AKz8Th7\nKKQXt5NePX7V3WCNnVhqoZyPk9l1XLmaGYDf80Q01IAVxAGwWQFD12iOhmYX\n7OGRv2PeWPSWcOO7cgHuLEYxQmK9e4bBDrd6C+egdqAMJjNHlH7RHSHnCou6\n6IrKVaMx4I9NnMkGBNDwK+0thI8Jrb375TrVp5qKdDHraJNZXdXZl8duZi3H\n27REb2J7ylHscFaQvFQhFs8WwAUD/VGKVEs7mgriuGzKyx9nxHtADott8JQm\nqCZDij7IXWiGrkmbJbyXgGaP/VJFXiyYIhe9JKZSyb5KMGzy2QHrWPQ5gP8p\n+yvNDldqbR5satX4Jr8VkzOh77ncdf5youds6dIvCdmevB1eNVbDFt09qqUk\nHurhzPiENuQDZ/Q98Yjejg3gpDA1guWM28qd99NZICmGfugcCDHqwiXVILoZ\n5nbUHCEJnIlxk6ibhRe4zKgRn6IDGgzOOjUI7q/sp6DaPhH/BEw11WivS7Jx\n5A+VoIdJmX042waMMUakaG2m43403PwY9A47NPBDTPn8vzfC0UR9Duu1B5uY\nI2Ltt4sxwgkv4m/e770L8HNjPJQ2zJdL+Id4gZf9TO61DpEda7dG1g9ZR+Sh\nRukO\r\n=/9Ze\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6do8er5r23kYOmy0DfcMkWm7uEK32paDE99YtkGuc9QIhANcV8JF+3n8uOhQZ1DR4lShFm1K1iL0VzrBZ0D7Kl4DF"}],"size":4085,"noattachment":false,"key":"/css-animation/-/css-animation-2.0.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_2.0.0_1564322490295_0.6650635160942993"},"_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":1564322490424,"_cnpm_publish_time":1564322490424,"dist-tags":{"latest":"2.0.4"}}