-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
hey, i install your library with sveltekit, and when i change the page your library is broking
it's because of the model of changing pages, i'd like to have a function where i can destroy your library and reinstall it
ex.:
react:
useEffect(() => {
const previewer = new ImagePreviewer("#images");
return previewer.destroy();
}, [images])
svelte:
onMount(() => {
const previewer = new ImagePreviewer("#images");
return previewer.destroy();
})
Metadata
Metadata
Assignees
Labels
No labels