HTMLImageElement ⇐ HTMLElement

Kind: global class Extends: HTMLElement Access: public See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement

new HTMLImageElement(document, nodeName, namespaceURI)

Creates an instance of HTMLImageElement.

Param Type
document *
nodeName *
namespaceURI *

htmlImageElement.src : string or File

The source of the image

Kind: instance property of HTMLImageElement

htmlImageElement.nodeName : string

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.localName : string

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.tagName : string

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.nodeType : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.namespaceURI : string

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.id : string

Kind: instance property of HTMLImageElement

htmlImageElement.className : string

Kind: instance property of HTMLImageElement

htmlImageElement.attributes : NamedNodeMap

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.style : Style

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.clientLeft : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.clientTop : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.clientWidth : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.clientHeight : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.offsetLeft : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.offsetTop : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.offsetWidth : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.offsetHeight : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.scrollLeft : number

Kind: instance property of HTMLImageElement

htmlImageElement.scrollTop : number

Kind: instance property of HTMLImageElement

htmlImageElement.scrollWidth : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.scrollHeight : number

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.disabled : boolean

Kind: instance property of HTMLImageElement

htmlImageElement.innerHTML : string

Kind: instance property of HTMLImageElement

htmlImageElement.outerHTML : string

Kind: instance property of HTMLImageElement

htmlImageElement.contentEditable

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.isConnected : boolean

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.parentNode : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.firstChild : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.lastChild : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.previousSibling : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.nextSibling : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.firstElementChild : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.lastElementChild : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.previousElementSibling : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.nextElementSibling : Node

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.textContent : string

Kind: instance property of HTMLImageElement

htmlImageElement.childNodes : NodeList

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.ownerDocument

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.offsetParent

Kind: instance property of HTMLImageElement Read only: true

htmlImageElement.scrollIntoView()

Kind: instance method of HTMLImageElement

htmlImageElement.scrollIntoViewIfNeeded()

Kind: instance method of HTMLImageElement

htmlImageElement.focus()

Kind: instance method of HTMLImageElement

htmlImageElement.blur()

Kind: instance method of HTMLImageElement

htmlImageElement.getAttribute(name) ⇒ string

Kind: instance method of HTMLImageElement

Param Type
name string

htmlImageElement.setAttribute(name, value)

Kind: instance method of HTMLImageElement

Param Type
name string
value string

htmlImageElement.removeAttribute(name)

Kind: instance method of HTMLImageElement

Param Type
name string

htmlImageElement.hasAttribute(name) ⇒ boolean

Kind: instance method of HTMLImageElement

Param Type
name string

htmlImageElement.getAttributeNode(name) ⇒ *

Kind: instance method of HTMLImageElement

Param Type
name string

htmlImageElement.setAttributeNode(newAttr)

Kind: instance method of HTMLImageElement

Param Type
newAttr *

htmlImageElement.removeAttributeNode(oldAttr)

Kind: instance method of HTMLImageElement

Param Type
oldAttr *

htmlImageElement.getElementsByClassName(name) ⇒ NodeList

Kind: instance method of HTMLImageElement

Param Type
name string

htmlImageElement.getElementsByTagName(name) ⇒ NodeList

Kind: instance method of HTMLImageElement

Param Type
name string

htmlImageElement.querySelector(selector) ⇒ Element

Kind: instance method of HTMLImageElement

Param Type
selector string

htmlImageElement.querySelectorAll(selector) ⇒ NodeList

Kind: instance method of HTMLImageElement

Param Type
selector string

htmlImageElement.getBoundingClientRect() ⇒ *

Kind: instance method of HTMLImageElement

htmlImageElement.insertAdjacentHTML(position, value)

Kind: instance method of HTMLImageElement

Param Type
position
value string

htmlImageElement.insertAdjacentElement(position, node) ⇒ Node

Kind: instance method of HTMLImageElement

Param Type
position *
node *

htmlImageElement.insertAdjacentText(position, text)

Kind: instance method of HTMLImageElement

Param Type
position *
text *

htmlImageElement.hasChildNodes() ⇒ boolean

Kind: instance method of HTMLImageElement

htmlImageElement.cloneNode(deep) ⇒ Node

Kind: instance method of HTMLImageElement

Param Type
deep boolean

htmlImageElement.appendChild(child) ⇒ Node

Kind: instance method of HTMLImageElement

Param Type
child Node

htmlImageElement.insertBefore(child, before) ⇒ Node

Kind: instance method of HTMLImageElement

Param Type
child Node
before Node

htmlImageElement.replaceChild(newChild, oldChild) ⇒ Node

Kind: instance method of HTMLImageElement

Param Type
newChild Node
oldChild Node

htmlImageElement.removeChild(child) ⇒ Node

Kind: instance method of HTMLImageElement

Param Type
child Node

htmlImageElement.remove()

Kind: instance method of HTMLImageElement

htmlImageElement.before(...nodes)

Kind: instance method of HTMLImageElement

Param Type
...nodes Array.<Node>

htmlImageElement.after(...nodes)

Kind: instance method of HTMLImageElement

Param Type
...nodes Array.<Node>

htmlImageElement.replaceWith(...nodes)

Kind: instance method of HTMLImageElement

Param Type
...nodes Array.<Node>

htmlImageElement.addEventListener(eventName, callback, [capture])

Kind: instance method of HTMLImageElement

Param Type Default
eventName *
callback *
[capture] boolean false

htmlImageElement.removeEventListener(eventName, callback, [capture])

Kind: instance method of HTMLImageElement

Param Type Default
eventName *
callback *
[capture] boolean false

htmlImageElement.dispatchEvent(event)

Kind: instance method of HTMLImageElement

Param Type
event *

results matching ""

    No results matching ""