Interface ResizeObserver
interface ResizeObserver {
disconnect(): void;
observe(target: Element, options?: ResizeObserverOptions): void;
unobserve(target: Element): void;
}
disconnect(): void;
observe(target: Element, options?: ResizeObserverOptions): void;
unobserve(target: Element): void;
}
Index
Methods
Methods
disconnect
observe
- observe(target, options?): void
Parameters
- target: Element
Optional
options: ResizeObserverOptions
Returns void
unobserve
- unobserve(target): void
Parameters
- target: Element
Returns void
MDN Reference