class js.html.ImageElement extends Element
Available on js
DOM image objects expose the HTMLImageElement (or
HTML 4 HTMLImageElement
) interface, which provides special properties and methods (beyond the regular element
object interface they also have available to them by inheritance) for manipulating the layout and presentation of input elements.
Documentation for this class was provided by MDN.
Instance Fields
True if the browser has fetched the image, and it is in a supported image type that was decoded without errors.
var crossOrigin:String
The CORS setting for this image element. See CORS settings attributes for details.
Reflects the
height
HTML attribute, indicating the rendered height of the image in CSS pixels.Reflects the
ismap
HTML attribute, indicating that the image is part of a server-side image map.Reflects the
width
HTML attribute, indicating the rendered width of the image in CSS pixels.