ResizeObserver extension type

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

Note: The content box is the box in which content can be placed, meaning the border box minus the padding and border width. The border box encompasses the content, padding, and border. See The box model for further explanation.

on
Implemented types
Available extensions

Constructors

ResizeObserver(ResizeObserverCallback callback)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disconnect() → void
The disconnect() method of the ResizeObserver interface unobserves all observed Element or SVGElement targets.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe(Element target, [ResizeObserverOptions options]) → void
The observe() method of the ResizeObserver interface starts observing the specified Element or SVGElement.
toString() String
A string representation of this object.
inherited
unobserve(Element target) → void
The unobserve() method of the ResizeObserver interface ends the observing of a specified Element or SVGElement.

Operators

operator ==(Object other) bool
The equality operator.
inherited