{"id":18510789,"url":"https://github.com/envato/jquery-exposer","last_synced_at":"2025-09-05T19:41:24.060Z","repository":{"id":20415691,"uuid":"23692031","full_name":"envato/jquery-exposer","owner":"envato","description":"A jQuery plugin that removes a class from some elements when some exposer is clicked","archived":false,"fork":false,"pushed_at":"2014-11-30T22:49:42.000Z","size":300,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":91,"default_branch":"master","last_synced_at":"2025-05-14T11:19:08.791Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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-09-05T05:58:25.000Z","updated_at":"2019-07-03T20:48:02.000Z","dependencies_parsed_at":"2022-07-31T19:08:07.379Z","dependency_job_id":null,"html_url":"https://github.com/envato/jquery-exposer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-exposer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-exposer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-exposer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/envato%2Fjquery-exposer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/envato","download_url":"https://codeload.github.com/envato/jquery-exposer/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.687Z","updated_at":"2025-05-14T11:19:40.996Z","avatar_url":"https://github.com/envato.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jquery-exposer\n==============\n\nA jQuery plugin that removes a class from some elements when some exposer is clicked, then destroys the exposer (or, optionally, its parent)\n\nUse it to expose a bunch of hidden elements when a user clicks \"show more\"\n\nInstantiate the plugin on an element that is a common parent of the exposer \u0026 exposee/s\n\n### Usage\n\n`$(element).exposer()`\n\n#### Options\n\n* `exposer` - element to bind the action to (default `.exposer`)\n* `exposeeClass` - class name to remove (default `.hidden`)\n* `destroyParent` - flag to destroy the target element's parent (default `false`)\n* `parent` - element to remove instead of direct parent when you need more control, requires `destoryParent : true` (default `false`)\n\n\n```\n$(element).exposer({\n  exposer: '.item-faq-form__exposer',\n  exposeeClass: 'js-hidden'\n})\n```\n##### Example with parent Options\n\n```\n$(element).exposer({\n  exposer: '.item-faq-form__exposer',\n  exposeeClass: 'js-hidden'\n  destroyParent: true,\n  parent: '.js-item-container'\n})\n```\n\n### Development\n\n* `npm install`\n\nrun `grunt` to watch for file changes and run the CoffeeScript compilation and tests \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato%2Fjquery-exposer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvato%2Fjquery-exposer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvato%2Fjquery-exposer/lists"}