A Safer Delete Experience
deleted button creates a dropdown with a confirmation and cancel button. This requires
two click actions from the user, helping to prevent accidental deletions.
The markup is declarative with customizable prompt text, button text, and cancel text.
A customized exampleCustom Delete
It's available on npm, bower, and github.
npm i --save deleted git clone https://github.com/johnotander/deleted
Currently, support needs to be added for ARIA attributes to ensure that this delete concept is accessible.