The ResizeObserver interface reports changes to the content rectangle
an web.Element
or the bounding box of an web.svg.SVGElement
.
content rectangle is the box in which content can be placed,
the border box minus the padding. (See The box model for an explanation
borders and padding.)
The ResizeObserver interface reports changes to the content rectangle an `web.Element` or the bounding box of an `web.svg.SVGElement`. content rectangle is the box in which content can be placed, the border box minus the padding. (See The box model for an explanation borders and padding.)
Constructor.
The ResizeObserver constructor creates a new web.resize.ResizeObserver
object which reports changes to the content rectangle of an web.Element
or the bounding box of an web.svg.SVGElement
.
callback
The method called whenever a resize occurs. The method is called with an array of web.resize.ResizeObserverEntry
objects.
See also: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/ResizeObserver
Constructor. The ResizeObserver constructor creates a new `web.resize.ResizeObserver` object which reports changes to the content rectangle of an `web.Element` or the bounding box of an `web.svg.SVGElement`. callback The method called whenever a resize occurs. The method is called with an array of `web.resize.ResizeObserverEntry` objects. See also: `https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/ResizeObserver`
(disconnect this)
Method.
The disconnect() method of the web.resize.ResizeObserver
interface
all observed web.Element
or web.svg.SVGElement
targets.
resizeObserver.disconnect();
See also: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/disconnect
Method. The disconnect() method of the `web.resize.ResizeObserver` interface all observed `web.Element` or `web.svg.SVGElement` targets. `resizeObserver.disconnect();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/disconnect`
(observe this target)
Method.
The observe() method of the web.resize.ResizeObserver
interface
observing the specified web.Element
or web.svg.SVGElement
.
resizeObserver.observe(target);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe
Method. The observe() method of the `web.resize.ResizeObserver` interface observing the specified `web.Element` or `web.svg.SVGElement`. `resizeObserver.observe(target);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe`
(unobserve this target)
Method.
The unobserve() method of the web.resize.ResizeObserver
interface
the observing of a specified web.Element
or web.svg.SVGElement
.
void unobserve(target);
See also: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/unobserve
Method. The unobserve() method of the `web.resize.ResizeObserver` interface the observing of a specified `web.Element` or `web.svg.SVGElement`. `void unobserve(target);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/unobserve`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close