{"id":18510792,"url":"https://github.com/envato/jquery-expander","last_synced_at":"2025-05-14T11:19:42.951Z","repository":{"id":22564353,"uuid":"25905655","full_name":"envato/jquery-expander","owner":"envato","description":"A jQuery plugin that toggles classes on two elements","archived":false,"fork":false,"pushed_at":"2014-10-29T05:20:37.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-05-14T11:19:08.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/envato.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":"2014-10-29T05:17:55.000Z","updated_at":"2019-07-03T20:48:06.000Z","dependencies_parsed_at":"2022-08-21T08:00:17.767Z","dependency_job_id":null,"html_url":"https://github.com/envato/jquery-expander","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-expander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-expander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-expander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-expander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/envato","download_url":"https://codeload.github.com/envato/jquery-expander/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129636,"owners_count":22019632,"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-11-06T15:25:09.826Z","updated_at":"2025-05-14T11:19:42.932Z","avatar_url":"https://github.com/envato.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jquery-expander\n==============\n\nA jQuery plugin that toggles classes on two elements.\n\n### Usage\n\n`$(element).expander()`\n\n#### Options\n\n* `target` - selector to find the target element. This needs to be inside the element the plugin is executed on. If the target is outside of the element the plugin is executed on you can use a data attribute  `data-target=\"#target\"` that will do a global DOM search\n* `toggleClass` - class to toggle on the element (default `is-active`)\n* `targetClass` - class name to toggle on the target element (default `is-hidden`)\n\n\n```\n$(element).expander({\n  target: '.target-element'\n  toggleClass: 'is-active',\n  targetClass: 'is-hidden'\n})\n```\n\n### Development\n\n* `npm install`\n\nrun `grunt` to watch for files for changes and run the CoffeeScript compilation and tests \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato%2Fjquery-expander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvato%2Fjquery-expander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato%2Fjquery-expander/lists"}