The ResizeObserverEntry interface is the object passed to the
ResizeObserver()
constructor.
The ResizeObserverEntry interface is the object passed to the `ResizeObserver()` constructor.
(content-rect this)
Property.
[Read Only] [Experimental]
The contentRect read-only property of the web.resize.ResizeObserverEntry
returns the new content rectangle of the element whose size is
observed.
var contentRect = resizeObserverEntry.contentRect;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/contentRect
Property. [Read Only] [Experimental] The contentRect read-only property of the `web.resize.ResizeObserverEntry` returns the new content rectangle of the element whose size is observed. `var contentRect = resizeObserverEntry.contentRect;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/contentRect`
(target this)
Property.
[Read Only] [Experimental]
The target read-only property of the web.resize.ResizeObserverEntry
returns reference to the web.Element
or web.svg.SVGElement
was resized.
var element = ResizeObserverEntry.target; var svgElement = ResizeObserverEntry.target;
See also: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/target
Property. [Read Only] [Experimental] The target read-only property of the `web.resize.ResizeObserverEntry` returns reference to the `web.Element` or `web.svg.SVGElement` was resized. `var element = ResizeObserverEntry.target; var svgElement = ResizeObserverEntry.target;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry/target`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close