Angular Signal Generators
    Preparing search index...

    Uses ResizeObserver to observe changes to elements passed to the signal.

    Either a signal/observable/function that returns Elements or ElementRefs, or a value that is Element or ElementRef. If the source is a value then the signal will be writable.

    Options for the signal or the ResizeObserver used to monitor changes.

    const el = document.getElementById('el1');
    const $obs = resizeSignal(el);
    effect(() => console.log($obs()[0])); // will output changes to size.
    el.style.height = '250px';