Confirm Page Refresh with Stimulus
Loosing data because of an accidental page refresh is no fun! This super-simple Stimulus controller shows a dialog before your user can refresh the page.
-
Default # Get this component
⚠️ JavaScript is disabled for this preview.Refresh first. Then, type something and try refreshing again.
The library of components is continuously evolving, with new components added regularly. See the roadmap for a glimpse of future enhancements, and check out the changelog for the latest additions and updates.