{"id":17458114,"url":"https://github.com/pocesar/angular-equalizer","last_synced_at":"2025-08-05T06:32:40.390Z","repository":{"id":17184578,"uuid":"19952024","full_name":"pocesar/angular-equalizer","owner":"pocesar","description":"Equalize the height of a set of random elements, without necessarily having a common parent, container, etc. ","archived":false,"fork":false,"pushed_at":"2016-09-08T03:47:43.000Z","size":14,"stargazers_count":11,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T06:28:05.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/pocesar.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-05-19T18:01:05.000Z","updated_at":"2017-01-04T11:58:49.000Z","dependencies_parsed_at":"2022-09-11T02:23:11.018Z","dependency_job_id":null,"html_url":"https://github.com/pocesar/angular-equalizer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fangular-equalizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fangular-equalizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fangular-equalizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fangular-equalizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pocesar","download_url":"https://codeload.github.com/pocesar/angular-equalizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221811374,"owners_count":16884305,"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-18T03:54:41.690Z","updated_at":"2024-10-28T09:17:19.807Z","avatar_url":"https://github.com/pocesar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Angular Equalizer\n=================\n\nEqualize the height of a set of random elements, without necessarily having a common parent, container, etc.\n\nYou can add and remove items on demand using the `EqualizerState` service.\n\n### Usage\n\nAdd it to your dependencies\n\n```js\nangular.module('yourapp', ['ngEqualizer']);\n```\n\nUse it in your directive\n\n```js\nangular.module('yourapp').directive('yourDirective', ['EqualizerState', function(EqualizerState){\n  return {\n    link: function(scope, el, attr){\n      EqualizerState.add('yourDirective', el);\n      EqualizerState.add('yourDirective', angular.element('\u003cdiv/\u003e'));\n    }\n  };\n}]);\n```\n\nOr use it directly in your elements\n\n```html\n\u003cdiv equalizer=\"'group'\"\u003e\u003c/div\u003e\n\u003cdiv equalizer=\"'group'\" ng-repeat=\"item in items\"\u003e\u003c/div\u003e\n\u003cdiv equalizer=\"'group'\" ng-if=\"current\"\u003e\u003c/div\u003e\n```\n\nElements must have an initial height and must not be hidden (their height is set to 0)\n\n### Dependencies\n\nNeeds jQuery and Lodash. Also, uses `requestAnimationFrame`, use a polyfill if you must\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Fangular-equalizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpocesar%2Fangular-equalizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Fangular-equalizer/lists"}