Author: | rpocklin |
---|---|
Official Page: | Go to website |
Publish Date: | January 19, 2015 |
License: | MIT |
Description:
An Angular directive which provides an intuitive way to re-confirm user intentions using a single widget, and provide inline feedback without confirm dialogs or flash messages.
Allows you to decorate a standard HTML button with 2 or 3 states, to allow the user to re-confirm their intent again before performing a destructive or important operation. Can also be used to simply confirm or feedback an action to the user on the same button they clicked. If you define it with 3 states, the directive will reset the state back after a time period (configurable).
This behaviour allows you to conserve space on the current view, without taking the users attention away from what they are currently actioning, and avoids distracting confirmation popups and flash messages.
Preview: