@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="HTMLImageElement")
public class HTMLImageElement
extends HTMLElement
implements TexImageSource, HTMLOrSVGImageElement
| Modifier and Type | Field and Description |
|---|---|
@JsNonNull java.lang.String |
align |
@JsNonNull java.lang.String |
alt
The HTMLImageElement property alt provides fallback (alternate) text to display when the image specified by the img element is not loaded.
|
@JsNonNull java.lang.String |
border |
@JsNullable java.lang.String |
crossOrigin
The HTMLImageElement interface's crossOrigin attribute is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image.
|
@JsNonNull java.lang.String |
decoding
The decoding property of the HTMLImageElement interface represents a hint given to the browser on how it should decode the image.
|
int |
height
The height property of the HTMLImageElement interface indicates the height at which the image is drawn, in CSS pixels if the image is being drawn or rendered to any visual medium such as the screen or a printer; otherwise, it's the natural, pixel density corrected height of the image.
|
int |
hspace |
boolean |
isMap
The HTMLImageElement proeprty isMap is a Boolean value which indicates that the image is to be used by a server-side image map.
|
@JsNonNull java.lang.String |
loading
The HTMLImageElement property loading is a string whose value provides a hint to the user agent that tells the browser how to handle loading images which are currently outside the window's visual viewport.
|
@JsNonNull java.lang.String |
longDesc |
@JsNonNull java.lang.String |
lowsrc |
@JsNonNull java.lang.String |
name
The HTMLImageElement interface's deprecated name property specifies a name for the element.
|
@JsNonNull java.lang.String |
referrerPolicy
The HTMLImageElement.referrerPolicy property reflects the HTML referrerpolicy attribute of the img element defining which referrer is sent when fetching the resource.
|
@JsNonNull java.lang.String |
sizes
The HTMLImageElement property sizes allows you to specify the layout width of the image for each of a list of media conditions.
|
@JsNonNull java.lang.String |
src
The HTMLImageElement property src, which reflects the HTML src attribute, specifies the image to display in the img element.
|
@JsNonNull java.lang.String |
srcset
The HTMLImageElement property srcset is a string which identifies one or more image candidate strings, separated using commas (,) each specifying image resources to use under given circumstances.
|
@JsNonNull java.lang.String |
useMap
The useMap property on the HTMLImageElement interface reflects the value of the HTML usemap attribute, which is a string providing the name of the client-side image map to apply to the image.
|
int |
vspace |
int |
width
The width property of the HTMLImageElement interface indicates the width at which an image is drawn in CSS pixels if it's being drawn or rendered to any visual medium such as a screen or printer.
|
accessKey, autocapitalize, autofocus, contentEditable, dir, draggable, enterKeyHint, hidden, innerText, inputMode, lang, nonce, onabort, onanimationcancel, onanimationend, onanimationiteration, onanimationstart, onauxclick, onbeforexrselect, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, onclose, oncontextlost, oncontextmenu, oncontextrestored, oncopy, oncuechange, oncut, ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onformdata, ongotpointercapture, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onlostpointercapture, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onpaste, onpause, onplay, onplaying, onpointercancel, onpointerdown, onpointerenter, onpointerleave, onpointermove, onpointerout, onpointerover, onpointerup, onprogress, onratechange, onreset, onresize, onscroll, onsecuritypolicyviolation, onseeked, onseeking, onselect, onselectionchange, onselectstart, onslotchange, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, ontouchcancel, ontouchend, ontouchmove, ontouchstart, ontransitioncancel, ontransitionend, ontransitionrun, ontransitionstart, onvolumechange, onwaiting, onwebkitanimationend, onwebkitanimationiteration, onwebkitanimationstart, onwebkittransitionend, onwheel, outerText, spellcheck, tabIndex, title, translateariaAtomic, ariaAutoComplete, ariaBusy, ariaChecked, ariaColCount, ariaColIndex, ariaColIndexText, ariaColSpan, ariaCurrent, ariaDescription, ariaDisabled, ariaExpanded, ariaHasPopup, ariaHidden, ariaInvalid, ariaKeyShortcuts, ariaLabel, ariaLevel, ariaLive, ariaModal, ariaMultiLine, ariaMultiSelectable, ariaOrientation, ariaPlaceholder, ariaPosInSet, ariaPressed, ariaReadOnly, ariaRequired, ariaRoleDescription, ariaRowCount, ariaRowIndex, ariaRowIndexText, ariaRowSpan, ariaSelected, ariaSetSize, ariaSort, ariaValueMax, ariaValueMin, ariaValueNow, ariaValueText, className, id, innerHTML, onfullscreenchange, onfullscreenerror, outerHTML, role, scrollLeft, scrollTop, slotATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, nodeValue, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent| Modifier | Constructor and Description |
|---|---|
protected |
HTMLImageElement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
complete()
The read-only HTMLImageElement interface's complete attribute is a Boolean value which indicates whether or not the image has completely loaded.
|
java.lang.String |
currentSrc()
The read-only HTMLImageElement property currentSrc indicates the URL of the image which is currently presented in the img element it represents.
|
@JsNonNull Promise<java.lang.Void> |
decode()
The decode() method of the HTMLImageElement interface returns a Promise that resolves when the image is decoded and it is safe to append the image to the DOM.
|
int |
naturalHeight()
The HTMLImageElement interface's naturalHeight property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in CSS pixels.
|
int |
naturalWidth()
The HTMLImageElement interface's read-only naturalWidth property returns the intrinsic (natural), density-corrected width of the image in CSS pixels.
|
int |
x()
The read-only HTMLImageElement property x indicates the x-coordinate of the img element's left border edge relative to the root element's origin.
|
int |
y()
The read-only HTMLImageElement property y indicates the y-coordinate of the img element's top border edge relative to the root element's origin.
|
accessKeyLabel, addAnimationcancelListener, addAnimationcancelListener, addAnimationcancelListener, addAnimationendListener, addAnimationendListener, addAnimationendListener, addAnimationiterationListener, addAnimationiterationListener, addAnimationiterationListener, addAnimationstartListener, addAnimationstartListener, addAnimationstartListener, addBeforeinputListener, addBeforeinputListener, addBeforeinputListener, addChangeListener, addChangeListener, addChangeListener, addDragendListener, addDragendListener, addDragendListener, addDragenterListener, addDragenterListener, addDragenterListener, addDragleaveListener, addDragleaveListener, addDragleaveListener, addDragListener, addDragListener, addDragListener, addDragoverListener, addDragoverListener, addDragoverListener, addDragstartListener, addDragstartListener, addDragstartListener, addDropListener, addDropListener, addDropListener, addErrorListener, addErrorListener, addErrorListener, addGotpointercaptureListener, addGotpointercaptureListener, addGotpointercaptureListener, addInputListener, addInputListener, addInputListener, addInvalidListener, addInvalidListener, addInvalidListener, addLostpointercaptureListener, addLostpointercaptureListener, addLostpointercaptureListener, addPointercancelListener, addPointercancelListener, addPointercancelListener, addPointerdownListener, addPointerdownListener, addPointerdownListener, addPointerenterListener, addPointerenterListener, addPointerenterListener, addPointerleaveListener, addPointerleaveListener, addPointerleaveListener, addPointermoveListener, addPointermoveListener, addPointermoveListener, addPointeroutListener, addPointeroutListener, addPointeroutListener, addPointeroverListener, addPointeroverListener, addPointeroverListener, addPointerupListener, addPointerupListener, addPointerupListener, addTransitioncancelListener, addTransitioncancelListener, addTransitioncancelListener, addTransitionendListener, addTransitionendListener, addTransitionendListener, addTransitionrunListener, addTransitionrunListener, addTransitionrunListener, addTransitionstartListener, addTransitionstartListener, addTransitionstartListener, attachInternals, blur, click, dataset, focus, focus, isContentEditable, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, removeAnimationcancelListener, removeAnimationcancelListener, removeAnimationcancelListener, removeAnimationendListener, removeAnimationendListener, removeAnimationendListener, removeAnimationiterationListener, removeAnimationiterationListener, removeAnimationiterationListener, removeAnimationstartListener, removeAnimationstartListener, removeAnimationstartListener, removeBeforeinputListener, removeBeforeinputListener, removeBeforeinputListener, removeChangeListener, removeChangeListener, removeChangeListener, removeDragendListener, removeDragendListener, removeDragendListener, removeDragenterListener, removeDragenterListener, removeDragenterListener, removeDragleaveListener, removeDragleaveListener, removeDragleaveListener, removeDragListener, removeDragListener, removeDragListener, removeDragoverListener, removeDragoverListener, removeDragoverListener, removeDragstartListener, removeDragstartListener, removeDragstartListener, removeDropListener, removeDropListener, removeDropListener, removeErrorListener, removeErrorListener, removeErrorListener, removeGotpointercaptureListener, removeGotpointercaptureListener, removeGotpointercaptureListener, removeInputListener, removeInputListener, removeInputListener, removeInvalidListener, removeInvalidListener, removeInvalidListener, removeLostpointercaptureListener, removeLostpointercaptureListener, removeLostpointercaptureListener, removePointercancelListener, removePointercancelListener, removePointercancelListener, removePointerdownListener, removePointerdownListener, removePointerdownListener, removePointerenterListener, removePointerenterListener, removePointerenterListener, removePointerleaveListener, removePointerleaveListener, removePointerleaveListener, removePointermoveListener, removePointermoveListener, removePointermoveListener, removePointeroutListener, removePointeroutListener, removePointeroutListener, removePointeroverListener, removePointeroverListener, removePointeroverListener, removePointerupListener, removePointerupListener, removePointerupListener, removeTransitioncancelListener, removeTransitioncancelListener, removeTransitioncancelListener, removeTransitionendListener, removeTransitionendListener, removeTransitionendListener, removeTransitionrunListener, removeTransitionrunListener, removeTransitionrunListener, removeTransitionstartListener, removeTransitionstartListener, removeTransitionstartListener, styleaddAuxclickListener, addAuxclickListener, addAuxclickListener, addBlurListener, addBlurListener, addBlurListener, addCancelListener, addCancelListener, addCancelListener, addClickListener, addClickListener, addClickListener, addCompositionendListener, addCompositionendListener, addCompositionendListener, addCompositionstartListener, addCompositionstartListener, addCompositionstartListener, addCompositionupdateListener, addCompositionupdateListener, addCompositionupdateListener, addContextmenuListener, addContextmenuListener, addContextmenuListener, addCopyListener, addCopyListener, addCopyListener, addCutListener, addCutListener, addCutListener, addDblclickListener, addDblclickListener, addDblclickListener, addDOMActivateListener, addDOMActivateListener, addDOMActivateListener, addFocusinListener, addFocusinListener, addFocusinListener, addFocusListener, addFocusListener, addFocusListener, addFocusoutListener, addFocusoutListener, addFocusoutListener, addFullscreenchangeListener, addFullscreenchangeListener, addFullscreenchangeListener, addFullscreenerrorListener, addFullscreenerrorListener, addFullscreenerrorListener, addMousedownListener, addMousedownListener, addMousedownListener, addMouseenterListener, addMouseenterListener, addMouseenterListener, addMouseleaveListener, addMouseleaveListener, addMouseleaveListener, addMousemoveListener, addMousemoveListener, addMousemoveListener, addMouseoutListener, addMouseoutListener, addMouseoutListener, addMouseoverListener, addMouseoverListener, addMouseoverListener, addMouseupListener, addMouseupListener, addMouseupListener, addPasteListener, addPasteListener, addPasteListener, addScrollListener, addScrollListener, addScrollListener, addShowListener, addShowListener, addShowListener, addTouchcancelListener, addTouchcancelListener, addTouchcancelListener, addTouchendListener, addTouchendListener, addTouchendListener, addTouchmoveListener, addTouchmoveListener, addTouchmoveListener, addTouchstartListener, addTouchstartListener, addTouchstartListener, addWebkitmouseforcechangedListener, addWebkitmouseforcechangedListener, addWebkitmouseforcechangedListener, addWebkitmouseforcedownListener, addWebkitmouseforcedownListener, addWebkitmouseforcedownListener, addWebkitmouseforceupListener, addWebkitmouseforceupListener, addWebkitmouseforceupListener, addWebkitmouseforcewillbeginListener, addWebkitmouseforcewillbeginListener, addWebkitmouseforcewillbeginListener, addWheelListener, addWheelListener, addWheelListener, after, after, animate, animate, animate, append, append, assignedSlot, attachShadow, attributes, before, before, childElementCount, children, classList, clientHeight, clientLeft, clientTop, clientWidth, closest, firstElementChild, getAnimations, getAnimations, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, lastElementChild, localName, matches, namespaceURI, nextElementSibling, prefix, prepend, prepend, previousElementSibling, pseudo, querySelector, querySelectorAll, releasePointerCapture, remove, removeAttribute, removeAttributeNode, removeAttributeNS, removeAuxclickListener, removeAuxclickListener, removeAuxclickListener, removeBlurListener, removeBlurListener, removeBlurListener, removeCancelListener, removeCancelListener, removeCancelListener, removeClickListener, removeClickListener, removeClickListener, removeCompositionendListener, removeCompositionendListener, removeCompositionendListener, removeCompositionstartListener, removeCompositionstartListener, removeCompositionstartListener, removeCompositionupdateListener, removeCompositionupdateListener, removeCompositionupdateListener, removeContextmenuListener, removeContextmenuListener, removeContextmenuListener, removeCopyListener, removeCopyListener, removeCopyListener, removeCutListener, removeCutListener, removeCutListener, removeDblclickListener, removeDblclickListener, removeDblclickListener, removeDOMActivateListener, removeDOMActivateListener, removeDOMActivateListener, removeFocusinListener, removeFocusinListener, removeFocusinListener, removeFocusListener, removeFocusListener, removeFocusListener, removeFocusoutListener, removeFocusoutListener, removeFocusoutListener, removeFullscreenchangeListener, removeFullscreenchangeListener, removeFullscreenchangeListener, removeFullscreenerrorListener, removeFullscreenerrorListener, removeFullscreenerrorListener, removeMousedownListener, removeMousedownListener, removeMousedownListener, removeMouseenterListener, removeMouseenterListener, removeMouseenterListener, removeMouseleaveListener, removeMouseleaveListener, removeMouseleaveListener, removeMousemoveListener, removeMousemoveListener, removeMousemoveListener, removeMouseoutListener, removeMouseoutListener, removeMouseoutListener, removeMouseoverListener, removeMouseoverListener, removeMouseoverListener, removeMouseupListener, removeMouseupListener, removeMouseupListener, removePasteListener, removePasteListener, removePasteListener, removeScrollListener, removeScrollListener, removeScrollListener, removeShowListener, removeShowListener, removeShowListener, removeTouchcancelListener, removeTouchcancelListener, removeTouchcancelListener, removeTouchendListener, removeTouchendListener, removeTouchendListener, removeTouchmoveListener, removeTouchmoveListener, removeTouchmoveListener, removeTouchstartListener, removeTouchstartListener, removeTouchstartListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcedownListener, removeWebkitmouseforcedownListener, removeWebkitmouseforcedownListener, removeWebkitmouseforceupListener, removeWebkitmouseforceupListener, removeWebkitmouseforceupListener, removeWebkitmouseforcewillbeginListener, removeWebkitmouseforcewillbeginListener, removeWebkitmouseforcewillbeginListener, removeWheelListener, removeWheelListener, removeWheelListener, replaceChildren, replaceChildren, replaceWith, replaceWith, requestFullscreen, requestFullscreen, requestPointerLock, scroll, scroll, scroll, scrollBy, scrollBy, scrollBy, scrollHeight, scrollIntoView, scrollIntoView, scrollIntoView, scrollTo, scrollTo, scrollTo, scrollWidth, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setPointerCapture, shadowRoot, tagName, toggleAttribute, toggleAttribute, webkitMatchesSelectorappendChild, baseURI, childNodes, cloneNode, cloneNode, compareDocumentPosition, contains, firstChild, getRootNode, getRootNode, hasChildNodes, insertBefore, isConnected, isDefaultNamespace, isEqualNode, isSameNode, lastChild, lookupNamespaceURI, lookupPrefix, nextSibling, nodeName, nodeType, normalize, ownerDocument, parentElement, parentNode, previousSibling, removeChild, replaceChildaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic @JsNonNull java.lang.String align
public @JsNonNull java.lang.String alt
public @JsNonNull java.lang.String border
@CrossOriginType public @JsNullable java.lang.String crossOrigin
public @JsNonNull java.lang.String decoding
public int height
public int hspace
public boolean isMap
@LoadingType public @JsNonNull java.lang.String loading
public @JsNonNull java.lang.String longDesc
public @JsNonNull java.lang.String lowsrc
public @JsNonNull java.lang.String name
@ReferrerPolicy public @JsNonNull java.lang.String referrerPolicy
public @JsNonNull java.lang.String sizes
public @JsNonNull java.lang.String src
public @JsNonNull java.lang.String srcset
public @JsNonNull java.lang.String useMap
public int vspace
public int width
@JsProperty(name="complete") public boolean complete()
@JsProperty(name="currentSrc") @Nonnull public java.lang.String currentSrc()
@JsProperty(name="naturalHeight") public int naturalHeight()
@JsProperty(name="naturalWidth") public int naturalWidth()
@JsProperty(name="x") public int x()
@JsProperty(name="y") public int y()
public @JsNonNull Promise<java.lang.Void> decode()