{"id":13622168,"url":"https://github.com/720kb/angular-fx","last_synced_at":"2025-09-08T10:32:43.117Z","repository":{"id":28065910,"uuid":"31562843","full_name":"720kb/angular-fx","owner":"720kb","description":"Angular CSS3 animation directives (ngfx-bounce, ngfx-shake, ngfx-flip, ngfx-pulse and more ...)  https://720kb.github.io/angular-fx","archived":false,"fork":false,"pushed_at":"2017-03-23T09:27:02.000Z","size":374,"stargazers_count":177,"open_issues_count":5,"forks_count":10,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-12-27T00:08:34.376Z","etag":null,"topics":["angular","angular-directives","angularjs","animate","animation","animations"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/720kb.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-02T20:58:49.000Z","updated_at":"2024-01-03T14:12:03.000Z","dependencies_parsed_at":"2022-09-09T11:21:03.705Z","dependency_job_id":null,"html_url":"https://github.com/720kb/angular-fx","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-fx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-fx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-fx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fangular-fx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/720kb","download_url":"https://codeload.github.com/720kb/angular-fx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232302272,"owners_count":18502114,"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":["angular","angular-directives","angularjs","animate","animation","animations"],"created_at":"2024-08-01T21:01:15.090Z","updated_at":"2025-01-03T06:47:33.041Z","avatar_url":"https://github.com/720kb.png","language":"HTML","readme":"Angular Fx\n==================\n\n[![Join the chat at https://gitter.im/720kb/angular-fx](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/720kb/angular-fx?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\n### Angular.js + animate.css\n\nConditional animations and effects for your elements: `ngfx-shake`, `ngfx-pulse`, `ngfx-tada`, and [more](https://github.com/720kb/angular-fx#complete-list) ...\n\nJust use them like you do for `ng-if` or `ng-hide` or `ng-show`.\n\nIt uses the awesome [animate.css](http://daneden.github.io/animate.css).\n\nThe Angular Fx is developed by [720kb](http://720kb.net).\n\n## Requirements\n\n\n[AngularJS](http://angularjs.org) v1.2+\n\n[animate.css](http://daneden.github.io/animate.css)\n\n\n### Browser support\n\n\nChrome | Firefox | IE | Opera | Safari\n--- | --- | --- | --- | --- |\n ✔ | ✔ | IE9 + | ✔ | ✔ |\n\n\n## Load\n\nTo use the directive, include the Angular Fx javascript and css files in your web page and the animate.css file:\n\n```html\n\u003c!DOCTYPE HTML\u003e\n\u003chtml\u003e\n\u003chead\u003e\n  \u003clink href=\"bower_components/animate.css/animate.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n  \u003c!-- angular-fx.css goes after animate.css--\u003e\n  \u003clink href=\"path/to/css/angular-fx.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n\u003c/head\u003e\n\u003cbody ng-app=\"app\"\u003e\n  //.....\n  \u003cscript src=\"path/to/js/angular-fx.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Install\n\n### Bower\n\n```\n$ bower install angular-fx --save\n```\n\n_then load the js files in your html_\n\n### npm\n\n```\n$ npm install angular-fx --save\n```\n\n_then load the js files in your html_\n\n### Add module dependency\n\nAdd the 720kb.fx module dependency\n\n```js\nangular.module('app', [\n  '720kb.fx'\n ]);\n```\n\nUse them like you do for `ng-if` or `ng-show` or `ng-hide`\n\n```html\n\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\"\u003ePulse\u003c/a\u003e\n\n```\n## Example\n\n```js\nangular.module('app', [\n  '720kb.fx'\n ])\n .controller('myCtrl',['$scope', '$timeout', function ($scope, $timeout) {\n    $timeout(function () {\n\n     $scope.x = 3;\n    }, 2000);\n\n    $timeout(function () {\n\n     $scope.x = 1;\n    }, 6000);\n }]);\n```\n\nUse them like you do for `ng-if` or `ng-show` or `ng-hide`\n\n```html\n\u003cdiv ng-controller=\"myCtrl\"\u003e\n\u003ca href=\"#\" ngfx-pulse=\"x \u003e 2\"\u003ePulse\u003c/a\u003e\n\u003ca href=\"#\" ngfx-fade-out=\"{{myCondition}}\"\u003eFadeout\u003c/a\u003e\n\u003c/div\u003e\n```\n\n### [live example](https://720kb.github.io/angular-fx)\n\n## Complete list\n_you can refer to the animate.css animations list [here](http://daneden.github.io/animate.css/)_\n\nngfx-flash\n\nngfx-pulse\n\nngfx-rubber-band\n\nngfx-shake\n\nngfx-swing\n\nngfx-tada\n\nngfx-wobble\n\nngfx-jello\n\nngfx-slide-in-up\n\nngfx-slide-in-left\n\nngfx-slide-in-right\n\nngfx-slide-in-down\n\nngfx-slide-out-up\n\nngfx-slide-out-left\n\nngfx-slide-out-right\n\nngfx-slide-out-down\n\nngfx-bounce-in\n\nngfx-bounce-in-down\n\nngfx-bounce-in-left\n\nngfx-bounce-in-right\n\nngfx-bounce-in-up\n\nngfx-bounce-out\n\nngfx-bounce-out-down\n\nngfx-bounce-out-left\n\nngfx-bounce-out-right\n\nngfx-bounce-out-up\n\nngfx-fade-in\n\nngfx-fade-in-down\n\nngfx-fade-in-down-big\n\nngfx-fade-in-left\n\nngfx-fade-in-left-big\n\nngfx-fade-in-right\n\nngfx-fade-in-right-big\n\nngfx-fade-in-up\n\nngfx-fade-in-up-big\n\nngfx-fade-out\n\nngfx-fade-out-down\n\nngfx-fade-out-down-big\n\nngfx-fade-out-left\n\nngfx-fade-out-left-big\n\nngfx-fade-out-right\n\nngfx-fade-out-right-big\n\nngfx-fade-out-up\n\nngfx-fade-out-up-big\n\nngfx-flip\n\nngfx-flip-in-x\n\nngfx-flip-in-y\n\nngfx-flip-out-x\n\nngfx-flip-out-y\n\nngfx-light-speed-in\n\nngfx-light-speed-out\n\nngfx-rotate-in\n\nngfx-rotate-in-up-left\n\nngfx-rotate-in-up-right\n\nngfx-rotate-in-down-left\n\nngfx-rotate-in-down-right\n\nngfx-rotate-out\n\nngfx-rotate-out-up-left\n\nngfx-rotate-out-up-right\n\nngfx-rotate-out-down-left\n\nngfx-rotate-out-down-right\n\nngfx-hinge\n\nngfx-roll-in\n\nngfx-roll-out\n\nngfx-zoom-in\n\nngfx-zoom-in-down\n\nngfx-zoom-in-left\n\nngfx-zoom-in-right\n\nngfx-zoom-in-up\n\nngfx-zoom-out\n\nngfx-zoom-out-down\n\nngfx-zoom-out-left\n\nngfx-zoom-out-right\n\nngfx-zoom-out-up\n\n## Options\n\n#### Animation speed\nTo set a different animation speed use the `ngfx-speed=\"medium | fast | slow\"` attribute (default value, if not specified, is `medium`):\n\n```html\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\" ngfx-speed=\"slow\"\u003eSlow Pulse\u003c/a\u003e\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\" ngfx-speed=\"medium\"\u003eMedium Pulse\u003c/a\u003e\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\" ngfx-speed=\"fast\"\u003eFast Pulse\u003c/a\u003e\n```\n\n#### Element visibility\nIf you would your element to be shown or hidden by default, you can use the `ngfx-default=\"hide | show\"` attribute:\n\n```html\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\" ngfx-default=\"show\"\u003eShown by default\u003c/a\u003e\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\" ngfx-default=\"hide\"\u003eHidden by default\u003c/a\u003e\n```\n\n#### Infinite animations\nIf you want an element to repeat the animation or the effect while your condition/expression is true (sometimes needed), just add the `ngfx-infinite` attribute to the element, or, if your browser doesn't support css attributes, use the `.infinite` class:\n\n```html\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\"\u003ePulse one time\u003c/a\u003e\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\" ngfx-infinite\u003ePulse continuously\u003c/a\u003e\n\u003ca href=\"#\" ngfx-pulse=\"3 \u003e 2\" class=\"infinite\"\u003ePulse continuously\u003c/a\u003e\n```\n\n## Contributing\n\nWe will be much grate if you help us making this project to grow up.\nFeel free to contribute by forking, opening issues, pull requests etc.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Filippo Oretti, Dario Andrei\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":["HTML"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fangular-fx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F720kb%2Fangular-fx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fangular-fx/lists"}