Skip to content

The confirm modal with HTML5 slider (SlideToConfirm-STC)

License

Notifications You must be signed in to change notification settings

amirkhiz/slide-to-confirm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlideToConfirm (STC) Modal

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();

Todos

  • Add Demo page
  • Add to npm

Docs

https://amirkhiz.github.io/slide-to-confirm/

About

The confirm modal with HTML5 slider (SlideToConfirm-STC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published