{"id":15821308,"url":"https://github.com/octoper/alpinejs-focus-modal","last_synced_at":"2025-04-01T06:38:03.122Z","repository":{"id":57168591,"uuid":"299504262","full_name":"octoper/alpinejs-focus-modal","owner":"octoper","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-30T03:20:22.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T07:47:13.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/octoper.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":"2020-09-29T04:29:20.000Z","updated_at":"2023-03-07T12:52:35.000Z","dependencies_parsed_at":"2022-08-24T14:40:24.321Z","dependency_job_id":null,"html_url":"https://github.com/octoper/alpinejs-focus-modal","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/octoper%2Falpinejs-focus-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoper%2Falpinejs-focus-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoper%2Falpinejs-focus-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoper%2Falpinejs-focus-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octoper","download_url":"https://codeload.github.com/octoper/alpinejs-focus-modal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246598151,"owners_count":20802973,"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-05T07:21:33.175Z","updated_at":"2025-04-01T06:38:03.091Z","avatar_url":"https://github.com/octoper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlpineJS Focus Modal\n\nThis AlpineJS plugin helps with focus-trap problems of modals.\nWhen you are opening a modal the focus will be moved to the first focusable element and the focus will be trapped into the modal.\n\n## Install\n\n**From CDN**: Add the following script to the end of your \u003chead\u003e or \u003cbody\u003e section.\n\n```html\n\u003cscript src=\"\" defer\u003e\u003c/script\u003e\n```\n\n**From NPM**: Install the package from NPM.\n```js\nimport AlpineFocusModal from \"alpinejs-focus-modal\";\n```\n\n## Usage\n\nTODO\n\n##License\nCopyright © 2020 Vaggelis Yfantis and contributors\n\nLicensed under the MIT license, see [LICENSE](LICENSE.md) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoper%2Falpinejs-focus-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctoper%2Falpinejs-focus-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoper%2Falpinejs-focus-modal/lists"}