{"id":17419633,"url":"https://github.com/bendrucker/angular-animate-change","last_synced_at":"2025-07-21T04:31:57.823Z","repository":{"id":23612989,"uuid":"26982196","full_name":"bendrucker/angular-animate-change","owner":"bendrucker","description":"Animate an element when a value changes","archived":false,"fork":false,"pushed_at":"2018-11-13T20:22:24.000Z","size":11,"stargazers_count":15,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-17T03:04:58.842Z","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":"hootsuite/atlantis-example","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bendrucker.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-11-21T23:24:44.000Z","updated_at":"2020-09-01T00:21:52.000Z","dependencies_parsed_at":"2022-08-22T02:10:50.619Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/angular-animate-change","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fangular-animate-change","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fangular-animate-change/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fangular-animate-change/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fangular-animate-change/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/angular-animate-change/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226867826,"owners_count":17694818,"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":[],"created_at":"2024-10-17T02:28:17.454Z","updated_at":"2024-11-28T06:17:08.111Z","avatar_url":"https://github.com/bendrucker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-animate-change [![Build Status](https://travis-ci.org/bendrucker/angular-animate-change.svg?branch=master)](https://travis-ci.org/bendrucker/angular-animate-change)\n======================\n\nAngular directive for applying an animation class to an element whenever a value changes. Useful for applying attention-calling animation like flashes or shakes.\n\n## Installing\n\n```bash\n# npm\n$ npm install angular-animate-change\n# bower\n$ bower install angular-animate-change\n```\n\n## Setup\n\n```js\n// node module exports the string 'animate-change' for convenience\nangular.module('myApp', [\n  require('angular-animate'),\n  require('angular-animate-change')\n]);\n// otherwise, include the code first then the module name\nangular.module('myApp', [\n  'ngAnimate',\n  'animate-change'\n]);\n```\n\n## API\n\n##### `animateChange` (directive)\n\n```html\n\u003cspan animate-change=\"value\" change-class=\"flash\"\u003e\u003c/span\u003e\n```\n\nWhen `$scope.value` changes, the class `'flash'` will be added. [Animation classes will applied during the transition](https://docs.angularjs.org/api/ngAnimate/service/$animate#addClass).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fangular-animate-change","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendrucker%2Fangular-animate-change","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fangular-animate-change/lists"}