{"id":35268921,"url":"https://github.com/kant2002/bootstrap-dialog","last_synced_at":"2026-05-19T11:38:05.645Z","repository":{"id":330123076,"uuid":"1121648084","full_name":"kant2002/bootstrap-dialog","owner":"kant2002","description":"JS-less dialogs for Bootstrap","archived":false,"fork":false,"pushed_at":"2025-12-23T10:32:02.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-25T00:31:59.740Z","etag":null,"topics":["bootstrap","bootstrap5","dialog"],"latest_commit_sha":null,"homepage":"https://kant2002.github.io/bootstrap-dialog/","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/kant2002.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-23T10:21:00.000Z","updated_at":"2025-12-23T10:32:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kant2002/bootstrap-dialog","commit_stats":null,"previous_names":["kant2002/bootstrap-dialog"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kant2002/bootstrap-dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2Fbootstrap-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2Fbootstrap-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2Fbootstrap-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2Fbootstrap-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kant2002","download_url":"https://codeload.github.com/kant2002/bootstrap-dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kant2002%2Fbootstrap-dialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33214490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: 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":["bootstrap","bootstrap5","dialog"],"created_at":"2025-12-30T11:49:17.923Z","updated_at":"2026-05-19T11:38:05.639Z","avatar_url":"https://github.com/kant2002.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bootsrtap + Dialog = ❤️\n=======================\n\nThis repo shows how you can use Bootstrap with \u003cdialog\u003e tag, using Command Invoker API which is shipped even in Safari.\n\n# Applications\n\nThis techniques interesting when using Bootstrap with application modern hybrid full-stack solutions, like Blazor, Next.js which control all your interactivity. \n\n# Motivation\n\nBootstrap want to control how do you open and close your modal popups, so do your full-stack framework. If you use this approach, you can use Bootstrap CSS without bringing JS and writing/using bridge code or separate integration library. At least you can delay this step.\n\nSecond motivation is to have as less JS in the browser as possible for simple cases.\n\n# Idea\n\nInstead of relying on `data-bs-toggle=\"modal\"`, `data-bs-dismiss=\"modal\"` and `data-bs-target=\"#exampleModal\"`, you can use `command=\"show-modal\"`, `command=\"close\"` and `commandfor=\"exampleModal\"` respectively.\n\nYou also need to override browser styles a bit.\n\n```css\ndialog.modal {\n    padding: 0;\n    max-width: fit-content;\n    max-height: fit-content;\n    border: none;\n    background: transparent;\n}\n\ndialog.modal[open] {\n    display: block !important;\n}\n```\n\nFor backdrop dismissal, you need to use `closedby=\"any\"` on the `dialog` tag.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkant2002%2Fbootstrap-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkant2002%2Fbootstrap-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkant2002%2Fbootstrap-dialog/lists"}