{"id":15047075,"url":"https://github.com/zwacky/angular-flippy","last_synced_at":"2025-08-26T08:15:55.364Z","repository":{"id":57178420,"uuid":"18877109","full_name":"zwacky/angular-flippy","owner":"zwacky","description":"AngularJS directive implementation with a CSS3 flip animation","archived":false,"fork":false,"pushed_at":"2017-05-18T22:06:11.000Z","size":40,"stargazers_count":72,"open_issues_count":0,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-10T20:44:17.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zwacky.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":"2014-04-17T12:12:20.000Z","updated_at":"2023-08-27T09:29:40.000Z","dependencies_parsed_at":"2022-09-06T20:31:45.104Z","dependency_job_id":null,"html_url":"https://github.com/zwacky/angular-flippy","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/zwacky/angular-flippy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fangular-flippy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fangular-flippy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fangular-flippy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fangular-flippy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zwacky","download_url":"https://codeload.github.com/zwacky/angular-flippy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fangular-flippy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192692,"owners_count":24889468,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-09-24T20:54:14.674Z","updated_at":"2025-08-26T08:15:55.312Z","avatar_url":"https://github.com/zwacky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-flippy\n\nAngularJS directive implementation with a CSS3 flip animation.\n\nWith v2.0 you'll find more customization within the directive itself. You are free to hook into any events like `ng-click` to fire the flip event.\n\n## Demo\n\n* Try the demo here: http://output.jsbin.com/panizijuka\n* Clone the repo and `gulp watch` to start the demo page locally\n\n## Install\n\n* npm: `npm install angular-flippy`\n* bower: `bower install angular-flippy`\n* add *angular-flippy* to your `angular.module('your-webapp', ['angular-flippy', ...)` dependencies\n\n## Flippy Directive Parameters\n\n```html\n\u003cflippy\n  class=\"fancy\"\n  flip=\"['click', 'mouseenter']\"\n  flip-back=\"['click', 'mouseleave']\"\n  duration=\"800\"\n  timing-function=\"ease-in-out\"\u003e\n\u003c/flippy\u003e\n```\n* `class`: fancy is an optional class to show some 3D-ness. (include `./css/flippy-fancy.min.css` for this exemplary style)\n* `flip`: events that trigger the first flip. will only trigger if flip state is in opposite flip state.\n* `flip-back`: events that trigger the flip back. will only trigger if flip state is in opposite flip state.\n* `duration`: the time it takes to flip in ms\n* `timing-function`: timing functions (see https://developer.mozilla.org/de/docs/Web/CSS/transition-timing-function)\n\n## Events\n\nThere are two types of events accepted for the `flip` (first flip) and `flip-back` (flip back):\n* Every [DOM event](https://en.wikipedia.org/wiki/DOM_events) e.g. click, mouseenter, mouseleave, dblclick, ...\n* `custom:XXX` where XXX is the name of the broadcast event\n\n\n### Custom Events Example\n```html\n// somewhere in your webapp\nfunction buttonClicked() {\n    $rootScope.$broadcast('FLIP_EVENT_IN');\n}\n\n// your directive\n\u003cflippy\n    flip=\"['custom:FLIP_EVENT_IN']\"\n    flip-back=\"['custom:FLIP_EVENT_OUT']\"\n    duration=\"800\"\n    timing-function=\"ease-in-out\"\u003e\n\u003c/flippy\u003e\n```\n\n## Contribute\n\nJust use `gulp watch` and hack away!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwacky%2Fangular-flippy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzwacky%2Fangular-flippy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwacky%2Fangular-flippy/lists"}