1.0.0 • Published 1 year ago
coreui-confirm v1.0.0
CoreUI Confirm
Install with npm
$ npm install coreui-confirm
Example
<button class="btn btn-sm btn-secondary" id="confirm-default">Default</button>
<button class="btn btn-sm btn-warning" id="confirm-warning">Warning</button>
<button class="btn btn-sm btn-danger" id="confirm-danger">Danger</button>
<script>
$('#confirm-default').click(function () {
CoreUI.confirm.default("Confirm title", "Raw denim you probably haven't heard of them jean shorts Austin?");
});
$('#confirm-warning').click(function () {
CoreUI.confirm.warning("Confirm title", "Raw denim you probably haven't heard of them jean shorts Austin?");
});
$('#confirm-danger').click(function () {
CoreUI.confirm.danger("Confirm title", "Raw denim you probably haven't heard of them jean shorts Austin?");
});
</script>
Result
1.0.0
1 year ago