Liking cljdoc? Tell your friends :D

web.svg.SVGImageElement

The SVGImageElement interface corresponds to the <image> element.

The SVGImageElement interface corresponds to the `<image>` element.
raw docstring

cross-origincljs

(cross-origin this)

Property.

A DOMString corresponding to the crossorigin attribute of the <image> element.

Property.

A DOMString corresponding to the crossorigin attribute of the
<image> element.
sourceraw docstring

decodecljs

(decode this)

Method.

The decode() method of the web.svg.SVGImageElement interface asynchronous decoding of an image, returning a js.Promise that

var promise = svgImageElement.decode();

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decode

Method.

The decode() method of the `web.svg.SVGImageElement` interface
asynchronous decoding of an image, returning a `js.Promise` that

`var promise = svgImageElement.decode();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decode`
sourceraw docstring

decodingcljs

(decoding this)

Property.

The decoding property of the web.svg.SVGImageElement interface a hint given to the browser on how it should decode the image.

var refStr = SVGImageElement.decoding SVGImageElement.decoding = refStr;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decoding

Property.

The decoding property of the `web.svg.SVGImageElement` interface
a hint given to the browser on how it should decode the image.

`var refStr = SVGImageElement.decoding
SVGImageElement.decoding = refStr;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decoding`
sourceraw docstring

heightcljs

(height this)

Property.

[Read Only]

The height read-only property of the web.svg.SVGImageElement returns an web.svg.SVGAnimatedLength corresponding to the height of the given <image> element.

var height = svgImageElement.height

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/height

Property.

[Read Only]

The height read-only property of the `web.svg.SVGImageElement`
returns an `web.svg.SVGAnimatedLength` corresponding to the height
of the given `<image>` element.

`var height = svgImageElement.height`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/height`
sourceraw docstring

preserve-aspect-ratiocljs

(preserve-aspect-ratio this)

Property.

[Read Only]

The preserveAspectRatio read-only property of the web.svg.SVGImageElement returns an web.svg.SVGAnimatedPreserveAspectRatio corresponding the preserveAspectRatio attribute of the given <image> element.

var svgAnimatedPreerveAspectRatio = svgImageElement.preserveAspectRatio;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/preserveAspectRatio

Property.

[Read Only]

The preserveAspectRatio read-only property of the `web.svg.SVGImageElement`
returns an `web.svg.SVGAnimatedPreserveAspectRatio` corresponding
the preserveAspectRatio attribute of the given `<image>` element.

`var svgAnimatedPreerveAspectRatio = svgImageElement.preserveAspectRatio;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/preserveAspectRatio`
sourceraw docstring

set-cross-origin!cljs

(set-cross-origin! this val)

Property.

A DOMString corresponding to the crossorigin attribute of the <image> element.

Property.

A DOMString corresponding to the crossorigin attribute of the
<image> element.
sourceraw docstring

set-decoding!cljs

(set-decoding! this val)

Property.

The decoding property of the web.svg.SVGImageElement interface a hint given to the browser on how it should decode the image.

var refStr = SVGImageElement.decoding SVGImageElement.decoding = refStr;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decoding

Property.

The decoding property of the `web.svg.SVGImageElement` interface
a hint given to the browser on how it should decode the image.

`var refStr = SVGImageElement.decoding
SVGImageElement.decoding = refStr;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/decoding`
sourceraw docstring

widthcljs

(width this)

Property.

[Read Only]

The width read-only property of the web.svg.SVGImageElement returns an web.svg.SVGAnimatedLength corresponding to the width of the given <image> element.

var width = svgImageElement.width;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/width

Property.

[Read Only]

The width read-only property of the `web.svg.SVGImageElement`
returns an `web.svg.SVGAnimatedLength` corresponding to the width
of the given `<image>` element.

`var width = svgImageElement.width;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/width`
sourceraw docstring

xcljs

(x this)

Property.

[Read Only]

The x read-only property of the web.svg.SVGImageElement interface an web.svg.SVGAnimatedLength corresponding to the x attribute the given <image> element.

var x = svgImageElement.x;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/x

Property.

[Read Only]

The x read-only property of the `web.svg.SVGImageElement` interface
an `web.svg.SVGAnimatedLength` corresponding to the x attribute
the given `<image>` element.

`var x = svgImageElement.x;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/x`
sourceraw docstring

ycljs

(y this)

Property.

[Read Only]

The y read-only property of the web.svg.SVGImageElement interface an web.svg.SVGAnimatedLength corresponding to the y attribute the given <image> element.

var y = svgImageElement.y;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/y

Property.

[Read Only]

The y read-only property of the `web.svg.SVGImageElement` interface
an `web.svg.SVGAnimatedLength` corresponding to the y attribute
the given `<image>` element.

`var y = svgImageElement.y;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement/y`
sourceraw docstring

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

× close