createResizeObserver():
object
Create a resize observer object
object
An object containing the store with the dimentions of observed element (ResizeObserverEntry), the directive to be applied to the html element to be observed
dimensions$:
ReadableSignal
<undefined
|ResizeObserverEntry
> =observedElement$
Store which contains the dimensions of the observed element (ResizeObserverEntry type) See the MDN documentation
directive:
Directive
<void
,SSRHTMLElement
>
Directive to be attached to html element in order to listen to resize events