{"id":15499918,"url":"https://github.com/stefanocudini/bootstrap-confirm-button","last_synced_at":"2025-04-22T21:44:42.107Z","repository":{"id":15558169,"uuid":"18293324","full_name":"stefanocudini/bootstrap-confirm-button","owner":"stefanocudini","description":"A simple button to confirm tasks, inline and unobtrusive confirm system","archived":false,"fork":false,"pushed_at":"2023-08-11T10:12:45.000Z","size":51,"stargazers_count":24,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T06:38:30.051Z","etag":null,"topics":["bootstrap","bootstrap-plugin","button-widget","javascript","jquery","ux"],"latest_commit_sha":null,"homepage":"https://opengeo.tech/bootstrap-confirm-button/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"scalp42/fluent-plugin-json-in-json","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefanocudini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2014-03-31T13:05:50.000Z","updated_at":"2024-07-10T22:20:11.000Z","dependencies_parsed_at":"2024-10-02T09:06:49.689Z","dependency_job_id":null,"html_url":"https://github.com/stefanocudini/bootstrap-confirm-button","commit_stats":{"total_commits":46,"total_committers":5,"mean_commits":9.2,"dds":"0.15217391304347827","last_synced_commit":"99db221534e3e86be17e7eb4ba24515a5018c952"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fbootstrap-confirm-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fbootstrap-confirm-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fbootstrap-confirm-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanocudini%2Fbootstrap-confirm-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanocudini","download_url":"https://codeload.github.com/stefanocudini/bootstrap-confirm-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249297768,"owners_count":21246474,"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":["bootstrap","bootstrap-plugin","button-widget","javascript","jquery","ux"],"created_at":"2024-10-02T08:56:43.202Z","updated_at":"2025-04-17T01:31:47.996Z","avatar_url":"https://github.com/stefanocudini.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bootstrap Confirm Button\n============\n\n[![npm version](https://badge.fury.io/js/bootstrap-confirm-button.svg)](http://badge.fury.io/js/bootstrap-confirm-button)\n\n\nA simple button to comfirm a task.\nInstead of using rude modals that interrupt a user's workflow, let's use a inline unobtrusive button instead.\nDesigned especially for devices with small screen. \n\n**Compatible with Bootstrap 3.3.7!**\n\n*Ispired by: http://eli.eliandlyndi.com/2011/10/10/using-jquery-to-provide-an-inline-confirmation-on-buttons/*\n\n[Demo](example.html)\n\n# Events\n\n| Event\t\t\t   | Data | Description            |\n| ---------------- | ---- | ---------------------- |\n| 'confirm:before' | {}   | fired at first click over button  |\n| 'confirm:expired'| {}\t  | fired after button is auto hidden |\n\n\n# Usage:\n\n\n```html\n\n\u003ca class=\"btn btn-primary btn-delete-item\"\u003eDelete\u003c/a\u003e\n\n```\n\n```javascript\n\n$('.btn-delete-item').btsConfirmButton(\"I'm sure!\", function(e) {\n\tconsole.log('Item deleted!');\n});\n```\n\n**advanced configuration:**\n\n```javascript\n$('.btn-delete-item').btsConfirmButton({\n\t\tmsg: \"Confirm Deletion\",\n\t\ttimeout: 3000,\n\t\tclassName: 'btn-danger'\n\t}, function(e) {\n\tconsole.log('Item deleted!');\n});\n\n```\n\n![Image](https://raw.githubusercontent.com/stefanocudini/bootstrap-confirm-button/master/images/confirm-delete-button.png)\n\n# Source:\n\n[Github](https://github.com/stefanocudini/bootstrap-confirm-button)\n[NPM](https://npmjs.org/package/bootstrap-confirm-button)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanocudini%2Fbootstrap-confirm-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanocudini%2Fbootstrap-confirm-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanocudini%2Fbootstrap-confirm-button/lists"}