Used to confirm with sliding til 100% otherwise this will not perform confirm callback function.
var confirmModal = new Modal({
content: '<h4>Do you want to confirm this transaction?</h4>',
confirmationMessage: 'Transaction successfully confirmed.',
confirmCallback: function (value, modal) {
// Do confirmed actions
}
});
confirmModal.open();
- Add Demo page
- Add to npm