For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface ResizeObserver

The ResizeObserver interface reports changes to the dimensions of an Element's content or border box, or the bounding box of an SVGElement.

MDN Reference

interface ResizeObserver {
    disconnect(): void;
    observe(target: Element, options?: ResizeObserverOptions): void;
    unobserve(target: Element): void;
}
Index

Methods

  • The disconnect() method of the or SVGElement targets.

    MDN Reference

    Returns void

  • The unobserve() method of the js-nolint unobserve(target) - target - : A reference to an Element or SVGElement to be unobserved.

    MDN Reference

    Parameters

    Returns void

Was this helpful?