{"id":16376439,"url":"https://github.com/rochdev/angular-lite-accordion","last_synced_at":"2025-08-21T15:36:38.393Z","repository":{"id":20439882,"uuid":"23716712","full_name":"rochdev/angular-lite-accordion","owner":"rochdev","description":"Lightweight accordion directive for AngularJS","archived":false,"fork":false,"pushed_at":"2017-04-22T12:23:28.000Z","size":10,"stargazers_count":6,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T20:04:16.966Z","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/rochdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-05T20:06:15.000Z","updated_at":"2022-07-29T02:21:07.000Z","dependencies_parsed_at":"2022-07-31T19:48:13.802Z","dependency_job_id":null,"html_url":"https://github.com/rochdev/angular-lite-accordion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochdev%2Fangular-lite-accordion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochdev%2Fangular-lite-accordion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochdev%2Fangular-lite-accordion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rochdev%2Fangular-lite-accordion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rochdev","download_url":"https://codeload.github.com/rochdev/angular-lite-accordion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582515,"owners_count":19985845,"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-11T03:24:41.110Z","updated_at":"2025-03-02T22:31:35.795Z","avatar_url":"https://github.com/rochdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-lite-accordion [![License][license-image]][license-url]\n\nLightweight accordion for AngularJS. It differs from other implementations in that it can be used with any markup as it does not enforce its own. If using [Bootstrap][twbs-url], you may prefer [UI Bootstrap][angular-bootstrap-url] which contains an accordion built specifically for it.\n\n## How to install\n\nFrom your project root, run:\n\n```sh\n$ bower install https://github.com/rochdev/angular-lite-accordion.git\n```\n\n## Features\n\n* No dependencies other than AngularJS\n* Complete control over markup\n* Support for custom animations\n\n## Usage\n\nThe component is broken up in 4 directives which are used as attributes on any element.\n\n```html\n\u003cANY lite-accordion-group close-others=\"\"\u003e\n  \u003cANY lite-accordion is-open=\"\" is-disabled=\"\"\u003e\n    \u003cANY lite-accordion-toggle=\"\"\u003e...\u003c/ANY\u003e\n    \u003cANY lite-accordion-body\u003e...\u003c/ANY\u003e\n  \u003c/ANY\u003e\n\u003c/ANY\u003e\n```\n\n### liteAccordionGroup *(optional)*\n\nThe `liteAccordionGroup` directive groups multiple `liteAccordion` directives together.\n\nAvailable options:\n\n| Attribute | Type | Description\n| --------- | ---- | -----------\n| close-others | `expression` | Controls whether only one accordion instance should be opened at the same time.\n\n### liteAccordion\n\nThe `liteAccordion` directive represents a single accordion instance. It is the container for the body and any of its toggles.\n\nAvailable options:\n\n| Attribute | Type | Description\n| --------- | ---- | -----------\n| is-open | `expression` | Controls whether the accordion body should be opened.\n| is-disabled | `expression` | Controls whether toggles for this accordion should trigger.\n\n### liteAccordionBody\n\nThe `liteAccordionBody` directive contains the actual content of the accordion.\n\n### liteAccordionToggle *(optional)*\n\nThe `liteAccordionToggle` directive controls the `is-open` attribute of its parent `liteAccordion`.\n\nAvailable options:\n\n| Attribute | Type | Description\n| --------- | ---- | -----------\n| liteAccordionBody | `string` | Can be either `open` or `close`. Any other value or leaving it empty means to simply toggle between open and close.\n\n## Animations\n\nThe following animations are triggered on `liteAccordionBody`:\n\n**addClass: .ng-hide** - when the `isOpen` attribute is set to a falsy value\u003cbr\u003e\n**removeClass: .ng-hide** - when the `isOpen` attribute is set to a truthy value\n\n## Example\n\nSee the [example](example) folder for a complete example.\n\n## License\n\n[MIT License][license-url]\n\n[angular-url]: https://angularjs.org\n[angular-bootstrap-url]: http://angular-ui.github.io/bootstrap/\n[build-image]: http://img.shields.io/travis/rochdev/angular-lite-accordion/master.svg?style=flat-square\n[build-url]: https://travis-ci.org/rochdev/angular-lite-accordion\n[license-image]: http://img.shields.io/badge/license-MIT-red.svg?style=flat-square\n[license-url]: http://en.wikipedia.org/wiki/MIT_License\n[twbs-url]: http://getbootstrap.com\n[version-image]: http://img.shields.io/badge/release-0.0.0-orange.svg?style=flat-square\n[version-url]: https://github.com/rochdev/angular-lite-accordion","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frochdev%2Fangular-lite-accordion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frochdev%2Fangular-lite-accordion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frochdev%2Fangular-lite-accordion/lists"}