{"id":19623829,"url":"https://github.com/appleple/ui-expand","last_synced_at":"2026-03-03T19:31:00.123Z","repository":{"id":39417528,"uuid":"203707201","full_name":"appleple/ui-expand","owner":"appleple","description":"Just a simple UI helper to expand elements to full screen","archived":false,"fork":false,"pushed_at":"2023-01-07T08:57:40.000Z","size":2354,"stargazers_count":4,"open_issues_count":26,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-26T19:39:15.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/appleple.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":"2019-08-22T03:26:13.000Z","updated_at":"2020-07-18T02:12:59.000Z","dependencies_parsed_at":"2023-02-06T17:46:12.284Z","dependency_job_id":null,"html_url":"https://github.com/appleple/ui-expand","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appleple/ui-expand","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fui-expand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fui-expand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fui-expand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fui-expand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleple","download_url":"https://codeload.github.com/appleple/ui-expand/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Fui-expand/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30056060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11T11:35:38.147Z","updated_at":"2026-03-03T19:31:00.073Z","avatar_url":"https://github.com/appleple.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ui-expand\n\n![](./assets/example.gif)\n\n## Install\n\n```\n$ npm install ui-expand --save\n```\n\n```js\nimport Expand from 'ui-expand'\n```\n\n### CDN\n\n```html\n\u003cscript src=\"https://unpkg.com/ui-expand@latest/js/ui-expand.min.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\n```html\n\u003cdiv class=\"js-expand\"\u003e\n  \u003cbutton class=\"js-expand-btn\"\u003eexpand\u003c/button\u003e\n    \u003cp\u003eLorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam, delectus vitae voluptas, corrupti ea expedita velit veniam accusamus repellat ex non esse ipsa harum laudantium veritatis excepturi, sapiente qui. Excepturi.\u003c/p\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n```js\nnew Expand('.js-expand', {\n  trigger: '.js-expand-btn' //it should be inside `.js-expand`\n});\n```\n\n## Event\n\n```js\nnew Expand('.js-expand', {\n  trigger: '.js-expand-btn',\n  beforeOpen: (element, trigger) =\u003e { //before expand\n\n  },\n  onOpen: (element, trigger) =\u003e { // after expand\n\n  },\n  beforeClose: (element, trigger) =\u003e { // before close\n\n  },\n  onClose: (element, trigger) =\u003e { // after close\n\n  }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fui-expand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleple%2Fui-expand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Fui-expand/lists"}