relishmedia/angular-hold-button
An AngularJS directive that turns a regular <button> into one that has to be held for a configurable amount of time before it performs an action. It can be used instead of a confirmation dialog for destructive actions.
4 best points · 2 comments · 1 Hacker News post · 8 GitHub stars · View on GitHub
Hacker News discussions
- Show HN: Angular Hold Button – hold (not click) to perform action (4 points, 2 comments, by PawelDecowski, 2016-04-19)