Liking cljdoc? Tell your friends :D
ClojureScript only.

web.resize.ResizeObserverEntry

The ResizeObserverEntry interface is the object passed to the ResizeObserver() constructor.

The ResizeObserverEntry interface is the object passed to the
`ResizeObserver()` constructor.
raw docstring

content-rectcljs

(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`
sourceraw docstring

targetcljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close