H
- @JsType(isNative=true, name="Element", namespace="<global>") public class Element<H> extends Node<H>
EventTarget.Options
ACTIVE_BUBBLE, ACTIVE_CAPTURE, PASSIVE_BUBBLE, PASSIVE_CAPTURE, PASSIVE_SUPPORTED
Constructor and Description |
---|
Element() |
appendChild, cloneNode, compareDocumentPosition, contains, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNativeNodeType, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasChildNodes, insertAfter, insertBefore, insertBefore, insertFirst, isAncestor, isAttached, isDefaultNamespace, isDescendant, isEqualNode, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenBefore, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
addEventListener, addEventListener, addEventListener, dispatchEvent, dispatchEvent, getEventListeners, removeEventListener, removeEventListener, removeEventListener, removeNativeEventListener, removeNativeEventListener, removeNativeEventListener, setEventListeners
cast, getOwnPropertyNames, hasOwnProperty, observe
@JsProperty public DOMTokenList getClassList()
@JsProperty(name="className") public String getClassName()
@JsOverlay public final void setClassName(String classNameList)
@JsOverlay public final void addClassName(String className)
@JsOverlay public final void removeClassName(String className)
@JsOverlay public final boolean hasClassName(String className)
@JsProperty public String getId()
@JsProperty public void setId(String id)
@JsOverlay public final void setInnerHTML(String html)
@JsProperty(name="innerHTML") public String getInnerHTML()
@JsProperty(name="style") public NativeCSSStyleDeclaration getNativeStyle()
@JsOverlay public final void removeAttribute(String name)
public void webkitRequestFullscreen()
@JsOverlay public final int getScrollLeft()
@JsOverlay public final void setScrollLeft(int scrollLeft)
@JsOverlay public final int getScrollTop()
@JsOverlay public final void setScrollTop(int scrollTop)
@JsOverlay public final int getScrollWidth()
@JsOverlay public final int getScrollHeight()
@JsOverlay public final int getClientWidth()
@JsOverlay public final int getClientHeight()
@JsOverlay public final int getClientLeft()
@JsOverlay public final int getClientTop()
@JsOverlay public final void setInnerText(String text)
@JsProperty public String getInnerText()
@JsOverlay public final void insertAdjacentElement(AdjacentPosition position, Element<?> element)
@JsOverlay public final void insertAdjacentHTML(AdjacentPosition position, String html)
@JsOverlay public final void insertAdjacentText(AdjacentPosition position, String text)
@JsMethod(name="setCapture") public void setNativeCatpure()
@JsMethod(name="setCapture") public void setNativeCatpure(boolean retargetToElement)
retargetToElement
- If true, all events are targeted directly to this element; if
false, events can also fire at descendants of this element.@JsOverlay public final void setCapture()
@JsOverlay public final void setCapture(CaptureType captureType)
@JsOverlay public final void releaseCapture()
@JsOverlay public final double getOffsetLeft()
@JsOverlay public final double getOffsetTop()
@JsOverlay public final double getOffsetWidth()
@JsOverlay public final double getOffsetHeight()
@JsOverlay public final <P extends HTMLElement<P>> P getOffsetParent()
@JsOverlay public final int getAbsoluteLeft()
@JsOverlay public final int getAbsoluteTop()
@JsOverlay public final ComputedStyle getComputedStyle()
@JsOverlay public final MutableStyle getStyle()
Copyright © 2018 Xalys. All rights reserved.