{"id":15015759,"url":"https://github.com/chalkedgoose/ember-native-modal","last_synced_at":"2025-04-12T09:43:35.944Z","repository":{"id":160743837,"uuid":"635556858","full_name":"chalkedgoose/ember-native-modal","owner":"chalkedgoose","description":"Effortlessly create native HTML5 modals and dialogs in your Ember.js applications with enhanced accessibility and customization.","archived":false,"fork":false,"pushed_at":"2025-03-24T14:00:12.000Z","size":1102,"stargazers_count":2,"open_issues_count":20,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T04:41:28.866Z","etag":null,"topics":["dialogs","ember","ember-addon","modals","typescript"],"latest_commit_sha":null,"homepage":"https://bright-medovik-452735.netlify.app/","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/chalkedgoose.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-03T00:28:31.000Z","updated_at":"2023-08-03T00:52:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"6318479c-b421-4204-93cc-98b2ecca7722","html_url":"https://github.com/chalkedgoose/ember-native-modal","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.4375,"last_synced_commit":"589ac44374c964e29c6f5558320f1de070780bc8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalkedgoose%2Fember-native-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalkedgoose%2Fember-native-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalkedgoose%2Fember-native-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalkedgoose%2Fember-native-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chalkedgoose","download_url":"https://codeload.github.com/chalkedgoose/ember-native-modal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248549920,"owners_count":21122925,"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":["dialogs","ember","ember-addon","modals","typescript"],"created_at":"2024-09-24T19:47:53.459Z","updated_at":"2025-04-12T09:43:35.920Z","avatar_url":"https://github.com/chalkedgoose.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-native-modal\n\nIntroducing ember-native-modal: A Powerful, User-Friendly Modal Addon for Ember.js\n\nThe ember-native-modal addon is a robust and easy-to-implement solution for Ember.js applications that harnesses the power of native HTML5 dialog elements to offer a highly engaging, accessible, and seamless user experience. With ember-native-modal, effortlessly create interactive modals, dialog boxes, and pop-ups that integrate seamlessly with your Ember app, while maintaining high performance and clean, maintainable code.\n\n## key features of ember-native-modal:\n\n- Native HTML5 dialog support: Utilize the built-in capabilities of HTML5 dialog elements for an enhanced, out-of-the-box user experience.\n\n- Easy Integration: Get up and running quickly with minimal configuration, effortlessly integrating modals and dialogs into your existing Ember.js application.\n\n- Accessibility: Designed with accessibility in mind, ember-native-modal ensures your dialogs and modals are user-friendly and easy to navigate for all users, including those with disabilities.\n\n- Customizable: Style and customize your dialogs and modals to match your application's look and feel, ensuring a consistent user experience across all interactions.\n\n## Compatibility\n\n- Ember.js v3.28 or above\n- Ember CLI v3.28 or above\n- Node.js v14 or above\n\n## Installation\n\n```\nember install ember-native-modal\n```\n\n## Usage\n\n#### Example using a modal\n\n```hbs\n\u003cdialog {{modal-helper open=this.isModalOpen}}\u003e\n  \u003cdiv\u003e\n    \u003cp\u003eThis is a modal\u003c/p\u003e\n    \u003cbutton type=\"button\" {{on \"click\" this.toggleModal}}\u003eClose\u003c/button\u003e\n  \u003c/div\u003e\n\u003c/dialog\u003e\n\u003cbutton type=\"button\" {{on \"click\" this.toggleModal}}\u003eopen modal\u003c/button\u003e\n```\n\n```js\nexport default class MyComponent extends Component {\n  @tracked isModalOpen = false;\n\n  @action\n  toggleModal() {\n    this.isModalOpen = !this.isModalOpen;\n  }\n}\n```\n\n#### Example using a dialog\n\n```hbs\n\u003cdialog {{dialog-helper open=this.isDialogOpen}}\u003e\n  \u003cdiv\u003e\n    \u003cp\u003eThis is a dialog\u003c/p\u003e\n    \u003cbutton type=\"button\" {{on \"click\" this.toggleDialog}}\u003eClose\u003c/button\u003e\n  \u003c/div\u003e\n\u003c/dialog\u003e\n\u003cbutton type=\"button\" {{on \"click\" this.toggleDialog}}\u003eopen modal\u003c/button\u003e\n```\n\n```js\nexport default class MyComponent extends Component {\n  @tracked isDialogOpen = false;\n\n  @action\n  toggleDialog() {\n    this.isDialogOpen = !this.isDialogOpen;\n  }\n}\n```\n\n## HTMLDialogElement Feature Parity\n\n| Feature                                             | Support |\n| --------------------------------------------------- | ------- |\n| Behavior related to `open` property                 | ✅      |\n| Behavior related to `returnValue` property          | ❌      |\n| Behavior related to `close()` method                | ✅      |\n| Behavior related to `show()` method for dialogs     | ✅      |\n| Behavior related to `showModal()` method for modals | ✅      |\n| Behavior related to `cancel` event                  | ❌      |\n| Behavior related to `close` event                   | ❌      |\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalkedgoose%2Fember-native-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchalkedgoose%2Fember-native-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalkedgoose%2Fember-native-modal/lists"}