WebIDLpedia

ResizeObserver interface

Definition

Resize Observer defines ResizeObserver



[Exposed=(Window)]
interface ResizeObserver {
    constructor(ResizeObserverCallback callback);
    undefined observe(Element target, optional ResizeObserverOptions options = {});
    undefined unobserve(Element target);
    undefined disconnect();
};

Methods and attributes that return objects implementing ResizeObserver