The SVGImageElement interface corresponds to the <image>
element.
The SVGImageElement interface corresponds to the `<image>` element.
(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.
(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`
(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`
(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`
(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`
(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.
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close