svelte-2 Questions

1

I would like to warn a user to save his changes (form changes)before leaving the page. I want to trigger this alert if he clicks anywhere on the window. It could be the back button or reload or any...

2

Is there a way to bind object field in Svelte 3? Example: <script> import MyComponent from "./MyComponent.svelte" let myobjectID </script> <MyComponent bind:myobject[id]...
Manciple asked 4/8, 2020 at 17:43
1

© 2022 - 2024 — McMap. All rights reserved.