Liking cljdoc? Tell your friends :D
ClojureScript only.

web.resize.ResizeObserver

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.)
raw docstring

disconnectcljs

(disconnect this)

Method.

[Experimental]

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.

[Experimental]

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

observecljs

(observe this target)

Method.

[Experimental]

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.

[Experimental]

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

unobservecljs

(unobserve this target)

Method.

[Experimental]

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.

[Experimental]

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

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

× close