import { Controller } from "stimulus"; // UnsavedChanges allows you to promp the user about unsaved changes when trying to leave the page // // Usage : // - with beforeunload event : //
// // - with turbolinks : // // // You can also combine the two event trigger ie : //