v1.2.10
- Expose shared
intersectionObserver
svelte action
Use like so:
<script>
import { observe } from '@zerodevx/svelte-img/utils'
</script>
<div use:observe on:enter={...} on:leave={...} />
intersectionObserver
svelte actionUse like so:
<script>
import { observe } from '@zerodevx/svelte-img/utils'
</script>
<div use:observe on:enter={...} on:leave={...} />