ArmedButton works by taking away the user's option of clicking a button and having something happen.
With this plugin on your page, every button click is followed by the classic and sometimes annoying "Are you sure?" question.
Well, not quite the question itself, but when the user clicks the button, to smaller buttons appear inside it, one to confirm the action and the other to dismiss it as an accident.
This transition between the two button states is fully animated, and to draw the user's attention to the action at hand, the button's background color flashes from red to white.
The secondary buttons' labels can also be edited, and some text can also be shown before the buttons, just in case you want to bring back the "Are you sure?" question.
ArmedButton comes with a basic example to show developers how it can be implemented.
What is new in this release:
- Fixed package.yml.
Requirements:
- JavaScript enabled on client side
- MooTools
- Bootstrap 3 or higher
Comments not found