{"id":23602803,"url":"https://github.com/lzwme/animate.css-jquery","last_synced_at":"2025-05-08T21:48:55.132Z","repository":{"id":57180116,"uuid":"68295298","full_name":"lzwme/animate.css-jquery","owner":"lzwme","description":"javascript(jQuery) helper for animate.css, let the animation in the JavaScript to use more simple.","archived":false,"fork":false,"pushed_at":"2017-10-17T04:22:23.000Z","size":36,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T21:48:54.801Z","etag":null,"topics":["animate","css"],"latest_commit_sha":null,"homepage":"http://lzw.me/pages/demo/animate.css-jquery/example","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lzwme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-15T13:15:27.000Z","updated_at":"2025-03-31T01:43:23.000Z","dependencies_parsed_at":"2022-09-14T03:31:22.420Z","dependency_job_id":null,"html_url":"https://github.com/lzwme/animate.css-jquery","commit_stats":null,"previous_names":["lzwme/animate.css.js"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fanimate.css-jquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fanimate.css-jquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fanimate.css-jquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzwme%2Fanimate.css-jquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lzwme","download_url":"https://codeload.github.com/lzwme/animate.css-jquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154954,"owners_count":21862618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animate","css"],"created_at":"2024-12-27T12:13:19.537Z","updated_at":"2025-05-08T21:48:55.057Z","avatar_url":"https://github.com/lzwme.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# animate.css-jquery\nJavascript(jQuery) helper for [animate.css)](https://daneden.github.io/animate.css), let the animation in the JavaScript to use more simple.\n\n[Demo](http://lzw.me/pages/demo/animate.css-jquery/example)\n\n[![NPM version][npm-image]][npm-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n## Installation\n\nTo install via npm:\n\n```bash\nnpm i animate.css-jquery --save\n```\n\nOr download the latest [release](https://github.com/lzwme/animate.css-jquery/releases) package, and unzip it.\n\n## USAGE\n\n```js\n// example for es6\nimport animate from 'animate.css-jquery';\nimport 'animate.css';\n\nanimate({$el: $('#logo')}).then(() =\u003e {\n    console.log('执行完成')\n});\n\nanimate({$el: '.div1:eq(0)', keyword: 'In'}).done((class) =\u003e {\n    console.log(class)\n});\n\nanimate('.div1:eq(0)', {keyword: /out/i}).done((class) =\u003e {\n    console.log(class)\n});\n\nanimate({$el: '.div1'}).then(() =\u003e {\n    return animate({$el: '.div2'})\n}).then(() =\u003e {\n    return animate({$el: '.div3'})\n});\n\n// use as jQuery plugin\n$('body').animatecssjs().then((type) =\u003e {\n    console.log('end, animate type: ', type);\n});\n\n$('body').animatecssjs('zoomIn');\n\n$('body').animatecssjs({\n    type: 'shake',\n    infinite: true\n});\n```\n\n### Basic Usage\n\n```js\n\u003clink href=\"//cdn.bootcss.com/animate.css/3.5.2/animate.min.css\" rel=\"stylesheet\"\u003e\n\u003cscript src=\"//cdn.bootcss.com/jquery/1.11.1/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"animate.css-jquery/lib/animate.jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\nwindow.animatecssjs({$el: $('#logo')}).then(() =\u003e {\n    console.log('执行完成')\n});\n\nwindow.animatecssjs('#logo'}).then(() =\u003e {\n    console.log('执行完成')\n});\n\nwindow.animatecssjs('.div1').then(() =\u003e {\n    return animate('.div2')\n}).then(() =\u003e {\n    return animate('.div3')\n});\n\u003c/script\u003e\n```\n\n## Options\n\n`$el: null,` Element for animate, jQuery or class\\id selector\n\n`type: '',` Animate type, String or Array.\n\n`infinite: false,` Whether animate infinite.\n\n`keyword: '',` Vaild when type='', String or RegExp.\n\n`reset: true,`  Reset element class when animate end.\n\n`hideScrollbar: true,` Whether hidden browser scrollbar.\n\n`callback: null,` callback when infinite=false and animate end.\n\n## Note on Patches / Pull Requests\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Send me a pull request. Bonus points for topic branches.\n\n## License\n\nanimate.css-jquery is released under the MIT license.\n\n该插件由[志文工作室](https://lzw.me)开发和维护。\n\n[npm-image]: https://img.shields.io/npm/v/animate.css-jquery.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/animate.css-jquery\n[github-tag]: https://img.shields.io/github/tag/lzwme/animate.css-jquery.svg?style=flat-square\n[github-url]: https://github.com/lzwme/animate.css-jquery/tags\n[travis-image]: https://img.shields.io/travis/lzwme/animate.css-jquery.svg?style=flat-square\n[travis-url]: https://travis-ci.org/lzwme/animate.css-jquery\n[coveralls-image]: https://img.shields.io/coveralls/lzwme/animate.css-jquery.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/lzwme/animate.css-jquery?branch=master\n[david-image]: https://img.shields.io/david/lzwme/animate.css-jquery.svg?style=flat-square\n[david-url]: https://david-dm.org/lzwme/animate.css-jquery\n[license-image]: https://img.shields.io/npm/l/animate.css-jquery.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/animate.css-jquery.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/animate.css-jquery\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzwme%2Fanimate.css-jquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flzwme%2Fanimate.css-jquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzwme%2Fanimate.css-jquery/lists"}