Element resize observer to Svelte
Watch element resize in Svelte
Svelte use:action for element resize notifications using ResizeObserver.
This is a simple Svelte component that you can use to make an element resizab…