⇤ ← Revision 1 as of 2014-11-10 21:46:23
Size: 628
Comment:
|
Size: 632
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
Bootbox.js is a small JavaScript library which allows you to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers. | Bootbox.js is a small [[Javascript]] library which allows you to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers. |
bootbox
Bootbox.js is a small Javascript library which allows you to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers.
bootbox.dialog("<h1>I am a custom dialog</h1>", [{ "label" : "Success!", "class" : "btn-success", "callback": function() { } }, { "label" : "Danger!", "class" : "btn-danger", "callback": function() { } }, { "label" : "Click ME!", "class" : "btn-primary", "callback": function() { } }, { "label" : "Just a button..." }]);