4.0.0 • Published 22 days ago
@svelte-put/resize v4.0.0
@svelte-put/resize
Svelte action use:resize
wrapper for ResizeObserver.
svelte-put
This package is part of the @svelte-put family. For contributing guideline and more, refer to its readme.
Usage & Documentation
See the dedicated documentation page here.
Quick Start
<script lang="ts">
import { resize } from '@svelte-put/resize';
import type { ResizeDetail } from '@svelte-put/resize';
function onResized(e: CustomEvent<ResizeDetail>) {
console.log(e.detail);
}
</script>
<div use:resize on:resized="{onResized}" />
Changelog
4.0.0
22 days ago
3.1.0
4 months ago
4.0.0-next.1
5 months ago
4.0.0-next.0
6 months ago
4.0.0-next.3
3 months ago
4.0.0-next.2
4 months ago
3.0.1
6 months ago
3.0.0
1 year ago
2.0.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago