@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Document")
public class Document
extends Node
implements IntersectionRoot
| Modifier and Type | Field and Description |
|---|---|
@JsNonNull java.lang.String |
alinkColor
Returns or sets the color of an active link in the document body.
|
@JsNonNull java.lang.String |
bgColor
The deprecated bgColor property gets or sets the background color of the current document.
|
@JsNullable HTMLElement |
body
The Document.body property represents the body or frameset node of the current document, or null if no such element exists.
|
@JsNonNull java.lang.String |
cookie |
@JsNonNull java.lang.String |
designMode
document.designMode controls whether the entire document is editable.
|
@JsNonNull java.lang.String |
dir
The Document.dir property is a DOMString representing the directionality of the text of the document, whether left to right (default) or right to left.
|
@JsNonNull java.lang.String |
domain
The domain property of the Document interface gets/sets the domain portion of the origin of the current document, as used by the same-origin policy.
|
@JsNonNull java.lang.String |
fgColor
fgColor gets/sets the foreground color, or text color, of the current document.
|
@JsNonNull java.lang.String |
linkColor
The Document.linkColor property gets/sets the color of links within the document.
|
@JsNullable EventHandler |
onabort
The onabort property of the GlobalEventHandlers mixin is the EventHandler for processing abort events sent to the window.
|
@JsNullable AnimationEventHandler |
onanimationcancel
The onanimationcancel property of the GlobalEventHandlers mixin is the EventHandler for processing animationcancel events.
|
@JsNullable AnimationEventHandler |
onanimationend
The onanimationend property of the GlobalEventHandlers mixin is the EventHandler for processing animationend events.
|
@JsNullable AnimationEventHandler |
onanimationiteration
The onanimationiteration property of the GlobalEventHandlers mixin is the EventHandler for processing animationiteration events.
|
@JsNullable AnimationEventHandler |
onanimationstart
An event handler for the animationstart event.
|
@JsNullable EventHandler |
onauxclick
The onauxclick property of the GlobalEventHandlers mixin is an EventHandler for processing auxclick events.
|
@JsNullable EventHandler |
onbeforexrselect |
@JsNullable EventHandler |
onblur
The onblur property of the GlobalEventHandlers mixin is the EventHandler for processing blur events.
|
@JsNullable EventHandler |
oncancel
The oncancel property of the GlobalEventHandlers mixin is an EventHandler for processing cancel events sent to a dialog element.
|
@JsNullable EventHandler |
oncanplay
The oncanplay property of the GlobalEventHandlers mixin is the EventHandler for processing canplay events.
|
@JsNullable EventHandler |
oncanplaythrough
The oncanplaythrough property of the GlobalEventHandlers mixin is the EventHandler for processing canplaythrough events.
|
@JsNullable EventHandler |
onchange
The onchange property of the GlobalEventHandlers mixin is an EventHandler for processing change events.
|
@JsNullable EventHandler |
onclick
The onclick property of the GlobalEventHandlers mixin is the EventHandler for processing click events on a given element.
|
@JsNullable EventHandler |
onclose
The onclose property of the GlobalEventHandlers mixin is an EventHandler for processing close events sent to a dialog element.
|
@JsNullable EventHandler |
oncontextlost |
@JsNullable EventHandler |
oncontextmenu
The oncontextmenu property of the GlobalEventHandlers mixin is an EventHandler that processes contextmenu events.
|
@JsNullable EventHandler |
oncontextrestored |
@JsNullable ClipboardEventHandler |
oncopy |
@JsNullable EventHandler |
oncuechange
The oncuechange property of the GlobalEventHandlers mixin is the EventHandler for processing cuechange events.
|
@JsNullable ClipboardEventHandler |
oncut |
@JsNullable EventHandler |
ondblclick
The ondblclick property of the GlobalEventHandlers mixin is an EventHandler that processes dblclick events on the given element.
|
@JsNullable DragEventHandler |
ondrag
A global event handler for the drag event.
|
@JsNullable DragEventHandler |
ondragend
A global event handler for the dragend event.
|
@JsNullable DragEventHandler |
ondragenter
A global event handler for the dragenter event.
|
@JsNullable DragEventHandler |
ondragleave
A global event handler for the dragleave event.
|
@JsNullable DragEventHandler |
ondragover
A global event handler for the dragover event.
|
@JsNullable DragEventHandler |
ondragstart
A global event handler for the dragstart event.
|
@JsNullable DragEventHandler |
ondrop
A global event handler for the drop event.
|
@JsNullable EventHandler |
ondurationchange
The ondurationchange property of the GlobalEventHandlers mixin is the EventHandler for processing durationchange events.
|
@JsNullable EventHandler |
onemptied
The onemptied property sets and returns the event handler for the emptied event.
|
@JsNullable EventHandler |
onended
The onended property of the GlobalEventHandlers mixin is the EventHandler for processing ended events.
|
@JsNullable OnErrorEventHandler |
onerror
The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.
|
@JsNullable EventHandler |
onfocus
The onfocus property of the GlobalEventHandlers mixin is an EventHandler that processes focus events on the given element.
|
@JsNullable EventHandler |
onformdata
The onformdata property of the GlobalEventHandlers mixin is the EventHandler for processing formdata events, fired after the entry list representing the form's data is constructed.
|
@JsNullable EventHandler |
onfullscreenchange
The Document interface's onfullscreenchange property is an event handler for the fullscreenchange event that is fired immediately before a document transitions into or out of full-screen mode.
|
@JsNullable EventHandler |
onfullscreenerror
The Document.onfullscreenerror property is an event handler for the fullscreenerror event that is sent to the document when it fails to transition into full-screen mode after a prior call to Element.requestFullscreen().
|
@JsNullable PointerEventHandler |
ongotpointercapture
The ongotpointercapture property of the GlobalEventHandlers mixin is an EventHandler that processes gotpointercapture events.
|
@JsNullable EventHandler |
oninput
The oninput property of the GlobalEventHandlers mixin is an EventHandler that processes input events on the input, select, and textarea elements.
|
@JsNullable EventHandler |
oninvalid
The oninvalid property of the GlobalEventHandlers mixin is an EventHandler that processes invalid events.
|
@JsNullable KeyboardEventHandler |
onkeydown
The onkeydown property of the GlobalEventHandlers mixin is an EventHandler that processes keydown events.
|
@JsNullable KeyboardEventHandler |
onkeypress
The onkeypress property of the GlobalEventHandlers mixin is an EventHandler that processes keypress events.
|
@JsNullable KeyboardEventHandler |
onkeyup
The onkeyup property of the GlobalEventHandlers mixin is an EventHandler that processes keyup events.
|
@JsNullable EventHandler |
onload
The onload property of the GlobalEventHandlers mixin is an EventHandler that processes load events on a Window, XMLHttpRequest, img element, etc.
|
@JsNullable EventHandler |
onloadeddata
The onloadeddata property of the GlobalEventHandlers mixin is the EventHandler for processing loadeddata events.
|
@JsNullable EventHandler |
onloadedmetadata
The onloadedmetadata property of the GlobalEventHandlers mixin is the EventHandler for processing loadedmetadata events.
|
@JsNullable EventHandler |
onloadstart
The onloadstart property of the GlobalEventHandlers mixin is an EventHandler representing the code to be called when the loadstart event is raised (when progress has begun on the loading of a resource.)
|
@JsNullable PointerEventHandler |
onlostpointercapture
The onlostpointercapture property of the GlobalEventHandlers mixin is an EventHandler that processes lostpointercapture events.
|
@JsNullable EventHandler |
onmousedown
The onmousedown property of the GlobalEventHandlers mixin is an EventHandler that processes mousedown events.
|
@JsNullable EventHandler |
onmouseenter
The onmouseenter property of the GlobalEventHandlers mixin is the EventHandler for processing mouseenter events.
|
@JsNullable EventHandler |
onmouseleave
The onmouseleave property of the GlobalEventHandlers mixin is the EventHandler for processing mouseleave events.
|
@JsNullable EventHandler |
onmousemove
The onmousemove property of the GlobalEventHandlers mixin is an EventHandler that processes mousemove events.
|
@JsNullable EventHandler |
onmouseout
The onmouseout property of the GlobalEventHandlers mixin is an EventHandler that processes mouseout events.
|
@JsNullable EventHandler |
onmouseover
The onmouseover property of the GlobalEventHandlers mixin is an EventHandler that processes mouseover events.
|
@JsNullable EventHandler |
onmouseup
The onmouseup property of the GlobalEventHandlers mixin is an EventHandler that processes mouseup events.
|
@JsNullable ClipboardEventHandler |
onpaste |
@JsNullable EventHandler |
onpause
The onpause property of the GlobalEventHandlers mixin is the EventHandler for processing pause events.
|
@JsNullable EventHandler |
onplay
The onplay property of the GlobalEventHandlers mixin is the EventHandler for processing play events.
|
@JsNullable EventHandler |
onplaying
The onplaying property of the GlobalEventHandlers mixin is the EventHandler for processing playing events.
|
@JsNullable PointerEventHandler |
onpointercancel
The onpointercancel property of the GlobalEventHandlers mixin is an EventHandler that processes pointercancel events.
|
@JsNullable PointerEventHandler |
onpointerdown
The GlobalEventHandlers event handler onpointerdown is used to specify the event handler for the pointerdown event, which is fired when the pointing device is initially pressed.
|
@JsNullable PointerEventHandler |
onpointerenter
The onpointerenter property of the GlobalEventHandlers mixin is an EventHandler that processes pointerenter events.
|
@JsNullable PointerEventHandler |
onpointerleave
The global event handler for the pointerleave event, which is delivered to a Node when the pointer (mouse cursor, fingertip, etc.) exits its hit test area (for example, if the cursor exits an Element or Window's content area).
|
@JsNullable EventHandler |
onpointerlockchange |
@JsNullable EventHandler |
onpointerlockerror |
@JsNullable PointerEventHandler |
onpointermove
The onpointermove property of the GlobalEventHandlers mixin is an EventHandler that processes pointermove events.
|
@JsNullable PointerEventHandler |
onpointerout
The onpointerout property of the GlobalEventHandlers mixin is an EventHandler that processes pointerout events.
|
@JsNullable PointerEventHandler |
onpointerover
The onpointerover property of the GlobalEventHandlers mixin is an EventHandler that processes pointerover events.
|
@JsNullable PointerEventHandler |
onpointerup
The onpointerup property of the GlobalEventHandlers mixin is an EventHandler that processes pointerup events.
|
@JsNullable EventHandler |
onprogress |
@JsNullable EventHandler |
onratechange |
@JsNullable EventHandler |
onreadystatechange |
@JsNullable EventHandler |
onreset
The onreset property of the GlobalEventHandlers mixin is an EventHandler that processes reset events.
|
@JsNullable EventHandler |
onresize
The onresize property of the GlobalEventHandlers interface is an EventHandler that processes resize events.
|
@JsNullable EventHandler |
onscroll
The onscroll property of the GlobalEventHandlers mixin is an EventHandler that processes scroll events.
|
@JsNullable EventHandler |
onsecuritypolicyviolation |
@JsNullable EventHandler |
onseeked |
@JsNullable EventHandler |
onseeking |
@JsNullable EventHandler |
onselect
The onselect property of the GlobalEventHandlers mixin is an EventHandler that processes select events.
|
@JsNullable EventHandler |
onselectionchange
The onselectionchange property of the GlobalEventHandlers mixin is an EventHandler that processes selectionchange events.
|
@JsNullable EventHandler |
onselectstart
The onselectstart property of the GlobalEventHandlers mixin is an EventHandler that processes selectstart events.
|
@JsNullable EventHandler |
onslotchange |
@JsNullable EventHandler |
onstalled |
@JsNullable EventHandler |
onsubmit
The onsubmit property of the GlobalEventHandlers mixin is an EventHandler that processes submit events.
|
@JsNullable EventHandler |
onsuspend |
@JsNullable EventHandler |
ontimeupdate |
@JsNullable EventHandler |
ontoggle |
@JsNullable TouchEventHandler |
ontouchcancel
The ontouchcancel property of the GlobalEventHandlers mixin is an EventHandler that processes touchcancel events.
|
@JsNullable TouchEventHandler |
ontouchend
A global event handler for the touchend event.
|
@JsNullable TouchEventHandler |
ontouchmove
A global event handler for the touchmove event.
|
@JsNullable TouchEventHandler |
ontouchstart
The ontouchstart property of the GlobalEventHandlers mixin is an EventHandler that processes touchstart events.
|
@JsNullable TransitionEventHandler |
ontransitioncancel
The ontransitioncancel property of the GlobalEventHandlers mixin is an EventHandler that processes transitioncancel events.
|
@JsNullable TransitionEventHandler |
ontransitionend
The ontransitionend property of the GlobalEventHandlers mixin is an EventHandler that processes transitionend events.
|
@JsNullable TransitionEventHandler |
ontransitionrun |
@JsNullable TransitionEventHandler |
ontransitionstart |
@JsNullable EventHandler |
onvisibilitychange
The Document.onvisibilitychange property represents the event handler that is called when a visibilitychange event reaches this object.
|
@JsNullable EventHandler |
onvolumechange |
@JsNullable EventHandler |
onwaiting |
@JsNullable EventHandler |
onwebkitanimationend |
@JsNullable EventHandler |
onwebkitanimationiteration |
@JsNullable EventHandler |
onwebkitanimationstart |
@JsNullable EventHandler |
onwebkittransitionend |
@JsNullable WheelEventHandler |
onwheel
The onwheel property of the GlobalEventHandlers mixin is an EventHandler that processes wheel events.
|
@JsNonNull java.lang.String |
title
The document.title property gets or sets the current title of the document.
|
@JsNonNull java.lang.String |
vlinkColor
The Document.vlinkColor property gets/sets the color of links that the user has visited in the document.
|
ATTRIBUTE_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| Constructor and Description |
|---|
Document()
The Document constructor creates a new Document object that is a web page loaded in the browser and serving as an entry point into the page's content.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
activeElement()
The activeElement read-only property of the Document and ShadowRoot interfaces returns the Element within the DOM or shadow DOM tree that currently has focus.
|
void |
addAnimationcancelListener(AnimationEventListener callback) |
void |
addAnimationcancelListener(AnimationEventListener callback,
AddEventListenerOptions options) |
void |
addAnimationcancelListener(AnimationEventListener callback,
boolean useCapture) |
void |
addAnimationendListener(AnimationEventListener callback) |
void |
addAnimationendListener(AnimationEventListener callback,
AddEventListenerOptions options) |
void |
addAnimationendListener(AnimationEventListener callback,
boolean useCapture) |
void |
addAnimationiterationListener(AnimationEventListener callback) |
void |
addAnimationiterationListener(AnimationEventListener callback,
AddEventListenerOptions options) |
void |
addAnimationiterationListener(AnimationEventListener callback,
boolean useCapture) |
void |
addAnimationstartListener(AnimationEventListener callback) |
void |
addAnimationstartListener(AnimationEventListener callback,
AddEventListenerOptions options) |
void |
addAnimationstartListener(AnimationEventListener callback,
boolean useCapture) |
void |
addCopyListener(ClipboardEventListener callback) |
void |
addCopyListener(ClipboardEventListener callback,
AddEventListenerOptions options) |
void |
addCopyListener(ClipboardEventListener callback,
boolean useCapture) |
void |
addCutListener(ClipboardEventListener callback) |
void |
addCutListener(ClipboardEventListener callback,
AddEventListenerOptions options) |
void |
addCutListener(ClipboardEventListener callback,
boolean useCapture) |
void |
addDOMContentLoadedListener(EventListener callback) |
void |
addDOMContentLoadedListener(EventListener callback,
AddEventListenerOptions options) |
void |
addDOMContentLoadedListener(EventListener callback,
boolean useCapture) |
void |
addDragendListener(DragEventListener callback) |
void |
addDragendListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDragendListener(DragEventListener callback,
boolean useCapture) |
void |
addDragenterListener(DragEventListener callback) |
void |
addDragenterListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDragenterListener(DragEventListener callback,
boolean useCapture) |
void |
addDragexitListener(DragEventListener callback) |
void |
addDragexitListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDragexitListener(DragEventListener callback,
boolean useCapture) |
void |
addDragleaveListener(DragEventListener callback) |
void |
addDragleaveListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDragleaveListener(DragEventListener callback,
boolean useCapture) |
void |
addDragListener(DragEventListener callback) |
void |
addDragListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDragListener(DragEventListener callback,
boolean useCapture) |
void |
addDragoverListener(DragEventListener callback) |
void |
addDragoverListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDragoverListener(DragEventListener callback,
boolean useCapture) |
void |
addDragstartListener(DragEventListener callback) |
void |
addDragstartListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDragstartListener(DragEventListener callback,
boolean useCapture) |
void |
addDropListener(DragEventListener callback) |
void |
addDropListener(DragEventListener callback,
AddEventListenerOptions options) |
void |
addDropListener(DragEventListener callback,
boolean useCapture) |
void |
addErrorListener(ErrorEventListener callback) |
void |
addErrorListener(ErrorEventListener callback,
AddEventListenerOptions options) |
void |
addErrorListener(ErrorEventListener callback,
boolean useCapture) |
void |
addFullscreenchangeListener(EventListener callback) |
void |
addFullscreenchangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addFullscreenchangeListener(EventListener callback,
boolean useCapture) |
void |
addGotpointercaptureListener(PointerEventListener callback) |
void |
addGotpointercaptureListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addGotpointercaptureListener(PointerEventListener callback,
boolean useCapture) |
void |
addKeydownListener(KeyboardEventListener callback) |
void |
addKeydownListener(KeyboardEventListener callback,
AddEventListenerOptions options) |
void |
addKeydownListener(KeyboardEventListener callback,
boolean useCapture) |
void |
addKeypressListener(KeyboardEventListener callback) |
void |
addKeypressListener(KeyboardEventListener callback,
AddEventListenerOptions options) |
void |
addKeypressListener(KeyboardEventListener callback,
boolean useCapture) |
void |
addKeyupListener(KeyboardEventListener callback) |
void |
addKeyupListener(KeyboardEventListener callback,
AddEventListenerOptions options) |
void |
addKeyupListener(KeyboardEventListener callback,
boolean useCapture) |
void |
addLostpointercaptureListener(PointerEventListener callback) |
void |
addLostpointercaptureListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addLostpointercaptureListener(PointerEventListener callback,
boolean useCapture) |
void |
addPasteListener(ClipboardEventListener callback) |
void |
addPasteListener(ClipboardEventListener callback,
AddEventListenerOptions options) |
void |
addPasteListener(ClipboardEventListener callback,
boolean useCapture) |
void |
addPointercancelListener(PointerEventListener callback) |
void |
addPointercancelListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointercancelListener(PointerEventListener callback,
boolean useCapture) |
void |
addPointerdownListener(PointerEventListener callback) |
void |
addPointerdownListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointerdownListener(PointerEventListener callback,
boolean useCapture) |
void |
addPointerenterListener(PointerEventListener callback) |
void |
addPointerenterListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointerenterListener(PointerEventListener callback,
boolean useCapture) |
void |
addPointerleaveListener(PointerEventListener callback) |
void |
addPointerleaveListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointerleaveListener(PointerEventListener callback,
boolean useCapture) |
void |
addPointerlockchangeListener(EventListener callback) |
void |
addPointerlockchangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addPointerlockchangeListener(EventListener callback,
boolean useCapture) |
void |
addPointerlockerrorListener(EventListener callback) |
void |
addPointerlockerrorListener(EventListener callback,
AddEventListenerOptions options) |
void |
addPointerlockerrorListener(EventListener callback,
boolean useCapture) |
void |
addPointermoveListener(PointerEventListener callback) |
void |
addPointermoveListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointermoveListener(PointerEventListener callback,
boolean useCapture) |
void |
addPointeroutListener(PointerEventListener callback) |
void |
addPointeroutListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointeroutListener(PointerEventListener callback,
boolean useCapture) |
void |
addPointeroverListener(PointerEventListener callback) |
void |
addPointeroverListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointeroverListener(PointerEventListener callback,
boolean useCapture) |
void |
addPointerupListener(PointerEventListener callback) |
void |
addPointerupListener(PointerEventListener callback,
AddEventListenerOptions options) |
void |
addPointerupListener(PointerEventListener callback,
boolean useCapture) |
void |
addReadystatechangeListener(EventListener callback) |
void |
addReadystatechangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addReadystatechangeListener(EventListener callback,
boolean useCapture) |
void |
addScrollListener(EventListener callback) |
void |
addScrollListener(EventListener callback,
AddEventListenerOptions options) |
void |
addScrollListener(EventListener callback,
boolean useCapture) |
void |
addSelectionchangeListener(EventListener callback) |
void |
addSelectionchangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addSelectionchangeListener(EventListener callback,
boolean useCapture) |
void |
addSelectstartListener(EventListener callback) |
void |
addSelectstartListener(EventListener callback,
AddEventListenerOptions options) |
void |
addSelectstartListener(EventListener callback,
boolean useCapture) |
void |
addTouchcancelListener(TouchEventListener callback) |
void |
addTouchcancelListener(TouchEventListener callback,
AddEventListenerOptions options) |
void |
addTouchcancelListener(TouchEventListener callback,
boolean useCapture) |
void |
addTouchendListener(TouchEventListener callback) |
void |
addTouchendListener(TouchEventListener callback,
AddEventListenerOptions options) |
void |
addTouchendListener(TouchEventListener callback,
boolean useCapture) |
void |
addTouchmoveListener(TouchEventListener callback) |
void |
addTouchmoveListener(TouchEventListener callback,
AddEventListenerOptions options) |
void |
addTouchmoveListener(TouchEventListener callback,
boolean useCapture) |
void |
addTouchstartListener(TouchEventListener callback) |
void |
addTouchstartListener(TouchEventListener callback,
AddEventListenerOptions options) |
void |
addTouchstartListener(TouchEventListener callback,
boolean useCapture) |
void |
addTransitioncancelListener(TransitionEventListener callback) |
void |
addTransitioncancelListener(TransitionEventListener callback,
AddEventListenerOptions options) |
void |
addTransitioncancelListener(TransitionEventListener callback,
boolean useCapture) |
void |
addTransitionendListener(TransitionEventListener callback) |
void |
addTransitionendListener(TransitionEventListener callback,
AddEventListenerOptions options) |
void |
addTransitionendListener(TransitionEventListener callback,
boolean useCapture) |
void |
addTransitionrunListener(TransitionEventListener callback) |
void |
addTransitionrunListener(TransitionEventListener callback,
AddEventListenerOptions options) |
void |
addTransitionrunListener(TransitionEventListener callback,
boolean useCapture) |
void |
addTransitionstartListener(TransitionEventListener callback) |
void |
addTransitionstartListener(TransitionEventListener callback,
AddEventListenerOptions options) |
void |
addTransitionstartListener(TransitionEventListener callback,
boolean useCapture) |
void |
addVisibilitychangeListener(EventListener callback) |
void |
addVisibilitychangeListener(EventListener callback,
AddEventListenerOptions options) |
void |
addVisibilitychangeListener(EventListener callback,
boolean useCapture) |
void |
addWheelListener(WheelEventListener callback) |
void |
addWheelListener(WheelEventListener callback,
AddEventListenerOptions options) |
void |
addWheelListener(WheelEventListener callback,
boolean useCapture) |
@JsNonNull Node |
adoptNode(Node node)
Document.adoptNode() transfers a node from another document into the method's document.
|
HTMLAllCollection |
all()
The Document interface's read-only all property returns an HTMLAllCollection rooted at the document node.
|
HTMLCollection |
anchors()
The anchors read-only property of the Document interface returns a list of all of the anchors in the document.
|
void |
append(Node... nodes)
The ParentNode.append() method inserts a set of Node objects or DOMString objects after the last child of the ParentNode.
|
void |
append(java.lang.String... nodes)
The ParentNode.append() method inserts a set of Node objects or DOMString objects after the last child of the ParentNode.
|
@JsNullable CaretPosition |
caretPositionFromPoint(double x,
double y) |
java.lang.String |
characterSet()
The Document.characterSet read-only property returns the character encoding of the document that it's currently rendered with.
|
java.lang.String |
charset() |
int |
childElementCount()
The ParentNode.childElementCount read-only property returns an unsigned long representing the number of child elements of the given element.
|
HTMLCollection |
children()
The ParentNode property children is a read-only property that returns a live HTMLCollection which contains all of the child elements of the node upon which it was called.
|
void |
close()
The Document.close() method finishes writing to a document, opened with Document.open().
|
java.lang.String |
compatMode()
The Document.compatMode read-only property indicates whether the document is rendered in Quirks mode or Standards mode.
|
java.lang.String |
contentType()
The Document.contentType read-only property returns the MIME type that the document is being rendered as.
|
@JsNonNull Attr |
createAttribute(java.lang.String localName)
The Document.createAttribute() method creates a new attribute node, and returns it.
|
@JsNonNull Attr |
createAttributeNS(java.lang.String namespace,
java.lang.String qualifiedName) |
@JsNonNull CDATASection |
createCDATASection(java.lang.String data)
createCDATASection() creates a new CDATA section node, and returns it.
|
@JsNonNull Comment |
createComment(java.lang.String data)
createComment() creates a new comment node, and returns it.
|
@JsNonNull DocumentFragment |
createDocumentFragment()
Creates a new empty DocumentFragment into which DOM nodes can be added to build an offscreen DOM tree.
|
@JsNonNull Element |
createElement(java.lang.String localName)
In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.
|
@JsNonNull Element |
createElement(java.lang.String localName,
ElementCreationOptions options)
In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.
|
@JsNonNull Element |
createElement(java.lang.String localName,
java.lang.String options)
In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.
|
@JsNonNull Element |
createElementNS(java.lang.String namespace,
java.lang.String qualifiedName)
Creates an element with the specified namespace URI and qualified name.
|
@JsNonNull Element |
createElementNS(java.lang.String namespace,
java.lang.String qualifiedName,
ElementCreationOptions options)
Creates an element with the specified namespace URI and qualified name.
|
@JsNonNull Element |
createElementNS(java.lang.String namespace,
java.lang.String qualifiedName,
java.lang.String options)
Creates an element with the specified namespace URI and qualified name.
|
@JsNonNull Event |
createEvent(java.lang.String interface_)
Creates an event of the type specified.
|
@JsNonNull XPathExpression |
createExpression(java.lang.String expression)
This method compiles an XPathExpression which can then be used for (repeated) evaluations.
|
@JsNonNull XPathExpression |
createExpression(java.lang.String expression,
XPathNSResolver resolver)
This method compiles an XPathExpression which can then be used for (repeated) evaluations.
|
@JsNonNull NodeIterator |
createNodeIterator(Node root)
Returns a new NodeIterator object.
|
@JsNonNull NodeIterator |
createNodeIterator(Node root,
int whatToShow)
Returns a new NodeIterator object.
|
@JsNonNull NodeIterator |
createNodeIterator(Node root,
int whatToShow,
NodeFilter filter)
Returns a new NodeIterator object.
|
@JsNonNull XPathNSResolver |
createNSResolver(Node nodeResolver)
Creates an XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.
|
@JsNonNull ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
createProcessingInstruction() generates a new processing instruction node and returns it.
|
@JsNonNull Range |
createRange()
The Document.createRange() method returns a new Range object.
|
@JsNonNull Text |
createTextNode(java.lang.String data)
Creates a new Text node.
|
@JsNonNull TreeWalker |
createTreeWalker(Node root)
The Document.createTreeWalker() creator method returns a newly created TreeWalker object.
|
@JsNonNull TreeWalker |
createTreeWalker(Node root,
int whatToShow)
The Document.createTreeWalker() creator method returns a newly created TreeWalker object.
|
@JsNonNull TreeWalker |
createTreeWalker(Node root,
int whatToShow,
NodeFilter filter)
The Document.createTreeWalker() creator method returns a newly created TreeWalker object.
|
HTMLOrSVGScriptElement |
currentScript()
The Document.currentScript property returns the script element whose script is currently being processed and isn't a JavaScript module.
|
Window |
defaultView()
In browsers, document.defaultView returns the window object associated with a document, or null if none is available.
|
DocumentType |
doctype()
Returns the Document Type Declaration (DTD) associated with current document.
|
Element |
documentElement()
Document.documentElement returns the Element that is the root element of the document (for example, the html element for HTML documents).
|
java.lang.String |
documentURI()
The documentURI read-only property of the Document interface returns the document location as a string.
|
@JsNullable Element |
elementFromPoint(double x,
double y) |
@JsNonNull JsArray<Element> |
elementsFromPoint(double x,
double y) |
HTMLCollection |
embeds()
The embeds read-only property of the Document interface returns a list of the embedded object elements within the current document.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode)
Returns an XPathResult based on an XPath expression and other given parameters.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver)
Returns an XPathResult based on an XPath expression and other given parameters.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver,
int type)
Returns an XPathResult based on an XPath expression and other given parameters.
|
@JsNonNull XPathResult |
evaluate(java.lang.String expression,
Node contextNode,
XPathNSResolver resolver,
int type,
XPathResult result)
Returns an XPathResult based on an XPath expression and other given parameters.
|
boolean |
execCommand(java.lang.String commandId)
When an HTML document has been switched to designMode, its document object exposes an execCommand method to run commands that manipulate the current editable region, such as form inputs or contentEditable elements.
|
boolean |
execCommand(java.lang.String commandId,
boolean showUI)
When an HTML document has been switched to designMode, its document object exposes an execCommand method to run commands that manipulate the current editable region, such as form inputs or contentEditable elements.
|
boolean |
execCommand(java.lang.String commandId,
boolean showUI,
java.lang.String value)
When an HTML document has been switched to designMode, its document object exposes an execCommand method to run commands that manipulate the current editable region, such as form inputs or contentEditable elements.
|
@JsNonNull Promise<java.lang.Void> |
exitFullscreen()
The Document method exitFullscreen() requests that the element on this document which is currently being presented in full-screen mode be taken out of full-screen mode, restoring the previous state of the screen.
|
void |
exitPointerLock()
The exitPointerLock() method asynchronously releases a pointer lock previously requested through Element.requestPointerLock.
|
Element |
firstElementChild()
The ParentNode.firstElementChild read-only property returns the object's first child Element, or null if there are no child elements.
|
HTMLCollection |
forms()
The forms read-only property of the Document interface returns an HTMLCollection listing all the form elements contained in the document.
|
boolean |
fullscreen()
The obsolete Document interface's fullscreen read-only property reports whether or not the document is currently displaying content in full-screen mode.
|
Element |
fullscreenElement()
The DocumentOrShadowRoot.fullscreenElement read-only property returns the Element that is currently being presented in full-screen mode in this document, or null if full-screen mode is not currently in use.
|
boolean |
fullscreenEnabled()
The read-only fullscreenEnabled property on the Document interface indicates whether or not full-screen mode is available.
|
@JsNonNull JsObject |
get(java.lang.String name) |
@JsNonNull JsArray<Animation> |
getAnimations()
The getAnimations() method of the Document interface returns an array of all Animation objects currently in effect whose target elements are descendants of the document.
|
@JsNullable Element |
getElementById(java.lang.String elementId)
The Document method getElementById() returns an Element object representing the element whose id property matches the specified string.
|
@JsNonNull HTMLCollection |
getElementsByClassName(java.lang.String classNames)
returns an array-like object of all child elements which have all of the given class name(s).
|
@JsNonNull NodeList |
getElementsByName(java.lang.String elementName)
The getElementsByName() method of the Document object returns a NodeList Collection of elements with a given name in the document.
|
@JsNonNull HTMLCollection |
getElementsByTagName(java.lang.String qualifiedName)
returns an HTMLCollection of elements with the given tag name.
|
@JsNonNull HTMLCollection |
getElementsByTagNameNS(java.lang.String namespace,
java.lang.String localName)
Returns a list of elements with the given tag name belonging to the given namespace.
|
@JsNullable Selection |
getSelection() |
boolean |
hasFocus()
The hasFocus() method of the Document interface returns a Boolean value indicating whether the document or any element inside the document has focus.
|
HTMLHeadElement |
head()
The head read-only property of the Document interface returns the head element of the current document.
|
boolean |
hidden()
The Document.hidden read-only property returns a Boolean value indicating if the page is considered hidden or not.
|
HTMLCollection |
images()
The images read-only property of the Document interface returns a collection of the images in the current HTML document.
|
DOMImplementation |
implementation()
The Document.implementation property returns a DOMImplementation object associated with the current document.
|
@JsNonNull Node |
importNode(Node node)
The Document object's importNode() method creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
|
@JsNonNull Node |
importNode(Node node,
boolean deep)
The Document object's importNode() method creates a copy of a Node or DocumentFragment from another document, to be inserted into the current document later.
|
java.lang.String |
inputEncoding() |
Element |
lastElementChild()
The ParentNode.lastElementChild read-only property returns the object's last child Element or null if there are no child elements.
|
java.lang.String |
lastModified()
The lastModified property of the Document interface returns a string containing the date and time on which the current document was last modified.
|
HTMLCollection |
links()
The links read-only property of the Document interface returns a collection of all area elements and a elements in a document with a value for the href attribute.
|
Location |
location()
The Document.location read-only property returns a Location object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.
|
@JsNonNull Document |
open()
The Document.open() method opens a document for writing.
|
@JsNonNull Document |
open(java.lang.String unused1)
The Document.open() method opens a document for writing.
|
@JsNonNull Document |
open(java.lang.String unused1,
java.lang.String unused2)
The Document.open() method opens a document for writing.
|
@JsNullable Window |
open(java.lang.String url,
java.lang.String name,
java.lang.String features)
The Document.open() method opens a document for writing.
|
HTMLCollection |
plugins()
The plugins read-only property of the Document interface returns an HTMLCollection object containing one or more HTMLEmbedElements representing the embed elements in the current document.
|
Element |
pointerLockElement()
The pointerLockElement property of the Document and ShadowRoot interfaces provides the element set as the target for mouse events while the pointer is locked.
|
void |
prepend(Node... nodes)
The ParentNode.prepend() method inserts a set of Node objects or DOMString objects before the first child of the ParentNode.
|
void |
prepend(java.lang.String... nodes)
The ParentNode.prepend() method inserts a set of Node objects or DOMString objects before the first child of the ParentNode.
|
boolean |
queryCommandEnabled(java.lang.String commandId)
The Document.queryCommandEnabled() method reports whether or not the specified editor command is enabled by the browser.
|
boolean |
queryCommandIndeterm(java.lang.String commandId) |
boolean |
queryCommandState(java.lang.String commandId) |
boolean |
queryCommandSupported(java.lang.String commandId)
The Document.queryCommandSupported() method reports whether or not the specified editor command is supported by the browser.
|
@JsNonNull java.lang.String |
queryCommandValue(java.lang.String commandId) |
@JsNullable Element |
querySelector(java.lang.String selectors)
The Document method querySelector() returns the first Element within the document that matches the specified selector, or group of selectors.
|
@JsNonNull NodeList |
querySelectorAll(java.lang.String selectors)
The Document method querySelectorAll() returns a static (not live) NodeList representing a list of the document's elements that match the specified group of selectors.
|
java.lang.String |
readyState()
The Document.readyState property describes the loading state of the document.
|
java.lang.String |
referrer()
The Document.referrer property returns the URI of the page that linked to this page.
|
void |
removeAnimationcancelListener(AnimationEventListener callback) |
void |
removeAnimationcancelListener(AnimationEventListener callback,
boolean useCapture) |
void |
removeAnimationcancelListener(AnimationEventListener callback,
EventListenerOptions options) |
void |
removeAnimationendListener(AnimationEventListener callback) |
void |
removeAnimationendListener(AnimationEventListener callback,
boolean useCapture) |
void |
removeAnimationendListener(AnimationEventListener callback,
EventListenerOptions options) |
void |
removeAnimationiterationListener(AnimationEventListener callback) |
void |
removeAnimationiterationListener(AnimationEventListener callback,
boolean useCapture) |
void |
removeAnimationiterationListener(AnimationEventListener callback,
EventListenerOptions options) |
void |
removeAnimationstartListener(AnimationEventListener callback) |
void |
removeAnimationstartListener(AnimationEventListener callback,
boolean useCapture) |
void |
removeAnimationstartListener(AnimationEventListener callback,
EventListenerOptions options) |
void |
removeCopyListener(ClipboardEventListener callback) |
void |
removeCopyListener(ClipboardEventListener callback,
boolean useCapture) |
void |
removeCopyListener(ClipboardEventListener callback,
EventListenerOptions options) |
void |
removeCutListener(ClipboardEventListener callback) |
void |
removeCutListener(ClipboardEventListener callback,
boolean useCapture) |
void |
removeCutListener(ClipboardEventListener callback,
EventListenerOptions options) |
void |
removeDOMContentLoadedListener(EventListener callback) |
void |
removeDOMContentLoadedListener(EventListener callback,
boolean useCapture) |
void |
removeDOMContentLoadedListener(EventListener callback,
EventListenerOptions options) |
void |
removeDragendListener(DragEventListener callback) |
void |
removeDragendListener(DragEventListener callback,
boolean useCapture) |
void |
removeDragendListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeDragenterListener(DragEventListener callback) |
void |
removeDragenterListener(DragEventListener callback,
boolean useCapture) |
void |
removeDragenterListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeDragexitListener(DragEventListener callback) |
void |
removeDragexitListener(DragEventListener callback,
boolean useCapture) |
void |
removeDragexitListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeDragleaveListener(DragEventListener callback) |
void |
removeDragleaveListener(DragEventListener callback,
boolean useCapture) |
void |
removeDragleaveListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeDragListener(DragEventListener callback) |
void |
removeDragListener(DragEventListener callback,
boolean useCapture) |
void |
removeDragListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeDragoverListener(DragEventListener callback) |
void |
removeDragoverListener(DragEventListener callback,
boolean useCapture) |
void |
removeDragoverListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeDragstartListener(DragEventListener callback) |
void |
removeDragstartListener(DragEventListener callback,
boolean useCapture) |
void |
removeDragstartListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeDropListener(DragEventListener callback) |
void |
removeDropListener(DragEventListener callback,
boolean useCapture) |
void |
removeDropListener(DragEventListener callback,
EventListenerOptions options) |
void |
removeErrorListener(ErrorEventListener callback) |
void |
removeErrorListener(ErrorEventListener callback,
boolean useCapture) |
void |
removeErrorListener(ErrorEventListener callback,
EventListenerOptions options) |
void |
removeFullscreenchangeListener(EventListener callback) |
void |
removeFullscreenchangeListener(EventListener callback,
boolean useCapture) |
void |
removeFullscreenchangeListener(EventListener callback,
EventListenerOptions options) |
void |
removeGotpointercaptureListener(PointerEventListener callback) |
void |
removeGotpointercaptureListener(PointerEventListener callback,
boolean useCapture) |
void |
removeGotpointercaptureListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removeKeydownListener(KeyboardEventListener callback) |
void |
removeKeydownListener(KeyboardEventListener callback,
boolean useCapture) |
void |
removeKeydownListener(KeyboardEventListener callback,
EventListenerOptions options) |
void |
removeKeypressListener(KeyboardEventListener callback) |
void |
removeKeypressListener(KeyboardEventListener callback,
boolean useCapture) |
void |
removeKeypressListener(KeyboardEventListener callback,
EventListenerOptions options) |
void |
removeKeyupListener(KeyboardEventListener callback) |
void |
removeKeyupListener(KeyboardEventListener callback,
boolean useCapture) |
void |
removeKeyupListener(KeyboardEventListener callback,
EventListenerOptions options) |
void |
removeLostpointercaptureListener(PointerEventListener callback) |
void |
removeLostpointercaptureListener(PointerEventListener callback,
boolean useCapture) |
void |
removeLostpointercaptureListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePasteListener(ClipboardEventListener callback) |
void |
removePasteListener(ClipboardEventListener callback,
boolean useCapture) |
void |
removePasteListener(ClipboardEventListener callback,
EventListenerOptions options) |
void |
removePointercancelListener(PointerEventListener callback) |
void |
removePointercancelListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointercancelListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePointerdownListener(PointerEventListener callback) |
void |
removePointerdownListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointerdownListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePointerenterListener(PointerEventListener callback) |
void |
removePointerenterListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointerenterListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePointerleaveListener(PointerEventListener callback) |
void |
removePointerleaveListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointerleaveListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePointerlockchangeListener(EventListener callback) |
void |
removePointerlockchangeListener(EventListener callback,
boolean useCapture) |
void |
removePointerlockchangeListener(EventListener callback,
EventListenerOptions options) |
void |
removePointerlockerrorListener(EventListener callback) |
void |
removePointerlockerrorListener(EventListener callback,
boolean useCapture) |
void |
removePointerlockerrorListener(EventListener callback,
EventListenerOptions options) |
void |
removePointermoveListener(PointerEventListener callback) |
void |
removePointermoveListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointermoveListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePointeroutListener(PointerEventListener callback) |
void |
removePointeroutListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointeroutListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePointeroverListener(PointerEventListener callback) |
void |
removePointeroverListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointeroverListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removePointerupListener(PointerEventListener callback) |
void |
removePointerupListener(PointerEventListener callback,
boolean useCapture) |
void |
removePointerupListener(PointerEventListener callback,
EventListenerOptions options) |
void |
removeReadystatechangeListener(EventListener callback) |
void |
removeReadystatechangeListener(EventListener callback,
boolean useCapture) |
void |
removeReadystatechangeListener(EventListener callback,
EventListenerOptions options) |
void |
removeScrollListener(EventListener callback) |
void |
removeScrollListener(EventListener callback,
boolean useCapture) |
void |
removeScrollListener(EventListener callback,
EventListenerOptions options) |
void |
removeSelectionchangeListener(EventListener callback) |
void |
removeSelectionchangeListener(EventListener callback,
boolean useCapture) |
void |
removeSelectionchangeListener(EventListener callback,
EventListenerOptions options) |
void |
removeSelectstartListener(EventListener callback) |
void |
removeSelectstartListener(EventListener callback,
boolean useCapture) |
void |
removeSelectstartListener(EventListener callback,
EventListenerOptions options) |
void |
removeTouchcancelListener(TouchEventListener callback) |
void |
removeTouchcancelListener(TouchEventListener callback,
boolean useCapture) |
void |
removeTouchcancelListener(TouchEventListener callback,
EventListenerOptions options) |
void |
removeTouchendListener(TouchEventListener callback) |
void |
removeTouchendListener(TouchEventListener callback,
boolean useCapture) |
void |
removeTouchendListener(TouchEventListener callback,
EventListenerOptions options) |
void |
removeTouchmoveListener(TouchEventListener callback) |
void |
removeTouchmoveListener(TouchEventListener callback,
boolean useCapture) |
void |
removeTouchmoveListener(TouchEventListener callback,
EventListenerOptions options) |
void |
removeTouchstartListener(TouchEventListener callback) |
void |
removeTouchstartListener(TouchEventListener callback,
boolean useCapture) |
void |
removeTouchstartListener(TouchEventListener callback,
EventListenerOptions options) |
void |
removeTransitioncancelListener(TransitionEventListener callback) |
void |
removeTransitioncancelListener(TransitionEventListener callback,
boolean useCapture) |
void |
removeTransitioncancelListener(TransitionEventListener callback,
EventListenerOptions options) |
void |
removeTransitionendListener(TransitionEventListener callback) |
void |
removeTransitionendListener(TransitionEventListener callback,
boolean useCapture) |
void |
removeTransitionendListener(TransitionEventListener callback,
EventListenerOptions options) |
void |
removeTransitionrunListener(TransitionEventListener callback) |
void |
removeTransitionrunListener(TransitionEventListener callback,
boolean useCapture) |
void |
removeTransitionrunListener(TransitionEventListener callback,
EventListenerOptions options) |
void |
removeTransitionstartListener(TransitionEventListener callback) |
void |
removeTransitionstartListener(TransitionEventListener callback,
boolean useCapture) |
void |
removeTransitionstartListener(TransitionEventListener callback,
EventListenerOptions options) |
void |
removeVisibilitychangeListener(EventListener callback) |
void |
removeVisibilitychangeListener(EventListener callback,
boolean useCapture) |
void |
removeVisibilitychangeListener(EventListener callback,
EventListenerOptions options) |
void |
removeWheelListener(WheelEventListener callback) |
void |
removeWheelListener(WheelEventListener callback,
boolean useCapture) |
void |
removeWheelListener(WheelEventListener callback,
EventListenerOptions options) |
void |
replaceChildren(Node... nodes)
The ParentNode.replaceChildren() method replaces the existing children of a Node with a specified new set of children.
|
void |
replaceChildren(java.lang.String... nodes)
The ParentNode.replaceChildren() method replaces the existing children of a Node with a specified new set of children.
|
SVGSVGElement |
rootElement() |
HTMLCollection |
scripts()
The scripts property of the Document interface returns a list of the script elements in the document.
|
Element |
scrollingElement()
The scrollingElement read-only property of the Document interface returns a reference to the Element that scrolls the document.
|
StyleSheetList |
styleSheets()
The styleSheets read-only property of the DocumentOrShadowRoot interface returns a StyleSheetList of CSSStyleSheet objects, for stylesheets explicitly linked into or embedded in a document.
|
DocumentTimeline |
timeline()
The timeline readonly property of the Document interface represents the default timeline of the current document.
|
java.lang.String |
URL()
The URL read-only property of the Document interface returns the document location as a string.
|
java.lang.String |
visibilityState()
The Document.visibilityState read-only property returns the visibility of the document, that is in which context this element is now visible.
|
void |
write(java.lang.String... text)
The Document.write() method writes a string of text to a document stream opened by document.open().
|
void |
writeln(java.lang.String... text)
Writes a string of text followed by a newline character to a document.
|
appendChild, 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 alinkColor
public @JsNonNull java.lang.String bgColor
public @JsNullable HTMLElement body
public @JsNonNull java.lang.String cookie
public @JsNonNull java.lang.String designMode
public @JsNonNull java.lang.String dir
public @JsNonNull java.lang.String domain
public @JsNonNull java.lang.String fgColor
public @JsNonNull java.lang.String linkColor
public @JsNullable EventHandler onabort
public @JsNullable AnimationEventHandler onanimationcancel
public @JsNullable AnimationEventHandler onanimationend
public @JsNullable AnimationEventHandler onanimationiteration
public @JsNullable AnimationEventHandler onanimationstart
public @JsNullable EventHandler onauxclick
public @JsNullable EventHandler onbeforexrselect
public @JsNullable EventHandler onblur
public @JsNullable EventHandler oncancel
public @JsNullable EventHandler oncanplay
public @JsNullable EventHandler oncanplaythrough
public @JsNullable EventHandler onchange
public @JsNullable EventHandler onclick
public @JsNullable EventHandler onclose
public @JsNullable EventHandler oncontextlost
public @JsNullable EventHandler oncontextmenu
public @JsNullable EventHandler oncontextrestored
public @JsNullable ClipboardEventHandler oncopy
public @JsNullable EventHandler oncuechange
public @JsNullable ClipboardEventHandler oncut
public @JsNullable EventHandler ondblclick
public @JsNullable DragEventHandler ondrag
public @JsNullable DragEventHandler ondragend
public @JsNullable DragEventHandler ondragenter
public @JsNullable DragEventHandler ondragleave
public @JsNullable DragEventHandler ondragover
public @JsNullable DragEventHandler ondragstart
public @JsNullable DragEventHandler ondrop
public @JsNullable EventHandler ondurationchange
public @JsNullable EventHandler onemptied
public @JsNullable EventHandler onended
public @JsNullable OnErrorEventHandler onerror
public @JsNullable EventHandler onfocus
public @JsNullable EventHandler onformdata
public @JsNullable EventHandler onfullscreenchange
public @JsNullable EventHandler onfullscreenerror
public @JsNullable PointerEventHandler ongotpointercapture
public @JsNullable EventHandler oninput
public @JsNullable EventHandler oninvalid
public @JsNullable KeyboardEventHandler onkeydown
public @JsNullable KeyboardEventHandler onkeypress
public @JsNullable KeyboardEventHandler onkeyup
public @JsNullable EventHandler onload
public @JsNullable EventHandler onloadeddata
public @JsNullable EventHandler onloadedmetadata
public @JsNullable EventHandler onloadstart
public @JsNullable PointerEventHandler onlostpointercapture
public @JsNullable EventHandler onmousedown
public @JsNullable EventHandler onmouseenter
public @JsNullable EventHandler onmouseleave
public @JsNullable EventHandler onmousemove
public @JsNullable EventHandler onmouseout
public @JsNullable EventHandler onmouseover
public @JsNullable EventHandler onmouseup
public @JsNullable ClipboardEventHandler onpaste
public @JsNullable EventHandler onpause
public @JsNullable EventHandler onplay
public @JsNullable EventHandler onplaying
public @JsNullable PointerEventHandler onpointercancel
public @JsNullable PointerEventHandler onpointerdown
public @JsNullable PointerEventHandler onpointerenter
public @JsNullable PointerEventHandler onpointerleave
public @JsNullable EventHandler onpointerlockchange
public @JsNullable EventHandler onpointerlockerror
public @JsNullable PointerEventHandler onpointermove
public @JsNullable PointerEventHandler onpointerout
public @JsNullable PointerEventHandler onpointerover
public @JsNullable PointerEventHandler onpointerup
public @JsNullable EventHandler onprogress
public @JsNullable EventHandler onratechange
public @JsNullable EventHandler onreadystatechange
public @JsNullable EventHandler onreset
public @JsNullable EventHandler onresize
public @JsNullable EventHandler onscroll
public @JsNullable EventHandler onsecuritypolicyviolation
public @JsNullable EventHandler onseeked
public @JsNullable EventHandler onseeking
public @JsNullable EventHandler onselect
public @JsNullable EventHandler onselectionchange
public @JsNullable EventHandler onselectstart
public @JsNullable EventHandler onslotchange
public @JsNullable EventHandler onstalled
public @JsNullable EventHandler onsubmit
public @JsNullable EventHandler onsuspend
public @JsNullable EventHandler ontimeupdate
public @JsNullable EventHandler ontoggle
public @JsNullable TouchEventHandler ontouchcancel
public @JsNullable TouchEventHandler ontouchend
public @JsNullable TouchEventHandler ontouchmove
public @JsNullable TouchEventHandler ontouchstart
public @JsNullable TransitionEventHandler ontransitioncancel
public @JsNullable TransitionEventHandler ontransitionend
public @JsNullable TransitionEventHandler ontransitionrun
public @JsNullable TransitionEventHandler ontransitionstart
public @JsNullable EventHandler onvisibilitychange
public @JsNullable EventHandler onvolumechange
public @JsNullable EventHandler onwaiting
public @JsNullable EventHandler onwebkitanimationend
public @JsNullable EventHandler onwebkitanimationiteration
public @JsNullable EventHandler onwebkitanimationstart
public @JsNullable EventHandler onwebkittransitionend
public @JsNullable WheelEventHandler onwheel
public @JsNonNull java.lang.String title
public @JsNonNull java.lang.String vlinkColor
public Document()
@JsProperty(name="URL") @Nonnull public java.lang.String URL()
@JsProperty(name="activeElement") @Nullable public Element activeElement()
@JsProperty(name="all") @Nonnull public HTMLAllCollection all()
@JsProperty(name="anchors") @Nonnull public HTMLCollection anchors()
@JsProperty(name="characterSet") @Nonnull public java.lang.String characterSet()
@JsProperty(name="charset") @Nonnull public java.lang.String charset()
@JsProperty(name="childElementCount") public int childElementCount()
@JsProperty(name="children") @Nonnull public HTMLCollection children()
@JsProperty(name="compatMode") @Nonnull public java.lang.String compatMode()
@JsProperty(name="contentType") @Nonnull public java.lang.String contentType()
@JsProperty(name="currentScript") @Nullable public HTMLOrSVGScriptElement currentScript()
@JsProperty(name="defaultView") @Nullable public Window defaultView()
@JsProperty(name="doctype") @Nullable public DocumentType doctype()
@JsProperty(name="documentElement") @Nullable public Element documentElement()
@JsProperty(name="documentURI") @Nonnull public java.lang.String documentURI()
@JsProperty(name="embeds") @Nonnull public HTMLCollection embeds()
@JsProperty(name="firstElementChild") @Nullable public Element firstElementChild()
@JsProperty(name="forms") @Nonnull public HTMLCollection forms()
@JsProperty(name="fullscreen") public boolean fullscreen()
@JsProperty(name="fullscreenElement") @Nullable public Element fullscreenElement()
@JsProperty(name="fullscreenEnabled") public boolean fullscreenEnabled()
@JsProperty(name="head") @Nullable public HTMLHeadElement head()
@JsProperty(name="hidden") public boolean hidden()
@JsProperty(name="images") @Nonnull public HTMLCollection images()
@JsProperty(name="implementation") @Nonnull public DOMImplementation implementation()
@JsProperty(name="inputEncoding") @Nonnull public java.lang.String inputEncoding()
@JsProperty(name="lastElementChild") @Nullable public Element lastElementChild()
@JsProperty(name="lastModified") @Nonnull public java.lang.String lastModified()
@JsProperty(name="links") @Nonnull public HTMLCollection links()
@JsProperty(name="location") @Nullable public Location location()
@JsProperty(name="plugins") @Nonnull public HTMLCollection plugins()
@JsProperty(name="pointerLockElement") @Nullable public Element pointerLockElement()
@JsProperty(name="readyState") @Nonnull @DocumentReadyState public java.lang.String readyState()
@JsProperty(name="referrer") @Nonnull public java.lang.String referrer()
@JsProperty(name="rootElement") @Nullable public SVGSVGElement rootElement()
@JsProperty(name="scripts") @Nonnull public HTMLCollection scripts()
@JsProperty(name="scrollingElement") @Nullable public Element scrollingElement()
@JsProperty(name="styleSheets") @Nonnull public StyleSheetList styleSheets()
@JsProperty(name="timeline") @Nonnull public DocumentTimeline timeline()
@JsProperty(name="visibilityState") @Nonnull @VisibilityState public java.lang.String visibilityState()
public @JsNonNull Node adoptNode(@Nonnull Node node)
public @JsNonNull Attr createAttribute(@Nonnull java.lang.String localName)
public @JsNonNull Attr createAttributeNS(@Nullable java.lang.String namespace, @Nonnull java.lang.String qualifiedName)
public @JsNonNull CDATASection createCDATASection(@Nonnull java.lang.String data)
public @JsNonNull Comment createComment(@Nonnull java.lang.String data)
public @JsNonNull DocumentFragment createDocumentFragment()
public @JsNonNull Element createElement(@Nonnull java.lang.String localName, @Nonnull java.lang.String options)
public @JsNonNull Element createElement(@Nonnull java.lang.String localName, @Nonnull ElementCreationOptions options)
public @JsNonNull Element createElement(@Nonnull java.lang.String localName)
public @JsNonNull Element createElementNS(@Nullable java.lang.String namespace, @Nonnull java.lang.String qualifiedName, @Nonnull java.lang.String options)
public @JsNonNull Element createElementNS(@Nullable java.lang.String namespace, @Nonnull java.lang.String qualifiedName, @Nonnull ElementCreationOptions options)
public @JsNonNull Element createElementNS(@Nullable java.lang.String namespace, @Nonnull java.lang.String qualifiedName)
public @JsNonNull Event createEvent(@Nonnull java.lang.String interface_)
public @JsNonNull NodeIterator createNodeIterator(@Nonnull Node root, int whatToShow, @Nullable NodeFilter filter)
public @JsNonNull NodeIterator createNodeIterator(@Nonnull Node root, int whatToShow)
public @JsNonNull NodeIterator createNodeIterator(@Nonnull Node root)
public @JsNonNull ProcessingInstruction createProcessingInstruction(@Nonnull java.lang.String target, @Nonnull java.lang.String data)
public @JsNonNull Range createRange()
public @JsNonNull Text createTextNode(@Nonnull java.lang.String data)
public @JsNonNull TreeWalker createTreeWalker(@Nonnull Node root, int whatToShow, @Nullable NodeFilter filter)
public @JsNonNull TreeWalker createTreeWalker(@Nonnull Node root, int whatToShow)
public @JsNonNull TreeWalker createTreeWalker(@Nonnull Node root)
public @JsNonNull HTMLCollection getElementsByClassName(@Nonnull java.lang.String classNames)
public @JsNonNull HTMLCollection getElementsByTagName(@Nonnull java.lang.String qualifiedName)
public @JsNonNull HTMLCollection getElementsByTagNameNS(@Nullable java.lang.String namespace, @Nonnull java.lang.String localName)
public @JsNonNull Node importNode(@Nonnull Node node, boolean deep)
public @JsNonNull Node importNode(@Nonnull Node node)
public @JsNullable CaretPosition caretPositionFromPoint(double x, double y)
public @JsNullable Element elementFromPoint(double x, double y)
public void exitPointerLock()
public @JsNullable Selection getSelection()
public @JsNonNull Promise<java.lang.Void> exitFullscreen()
public void close()
public boolean execCommand(@Nonnull
java.lang.String commandId,
boolean showUI,
@Nonnull
java.lang.String value)
public boolean execCommand(@Nonnull
java.lang.String commandId,
boolean showUI)
public boolean execCommand(@Nonnull
java.lang.String commandId)
public @JsNonNull NodeList getElementsByName(@Nonnull java.lang.String elementName)
public boolean hasFocus()
public @JsNonNull Document open(@Nonnull java.lang.String unused1, @Nonnull java.lang.String unused2)
public @JsNonNull Document open(@Nonnull java.lang.String unused1)
public @JsNonNull Document open()
public @JsNullable Window open(@Nonnull java.lang.String url, @Nonnull java.lang.String name, @Nonnull java.lang.String features)
public boolean queryCommandEnabled(@Nonnull
java.lang.String commandId)
public boolean queryCommandIndeterm(@Nonnull
java.lang.String commandId)
public boolean queryCommandState(@Nonnull
java.lang.String commandId)
public boolean queryCommandSupported(@Nonnull
java.lang.String commandId)
public @JsNonNull java.lang.String queryCommandValue(@Nonnull
java.lang.String commandId)
public void write(@Nonnull
java.lang.String... text)
public void writeln(@Nonnull
java.lang.String... text)
@JsOverlay public final @JsNonNull JsObject get(@Nonnull java.lang.String name)
public void append(@Nonnull
Node... nodes)
public void append(@Nonnull
java.lang.String... nodes)
public void prepend(@Nonnull
Node... nodes)
public void prepend(@Nonnull
java.lang.String... nodes)
public @JsNullable Element querySelector(@Nonnull java.lang.String selectors)
public @JsNonNull NodeList querySelectorAll(@Nonnull java.lang.String selectors)
public void replaceChildren(@Nonnull
Node... nodes)
public void replaceChildren(@Nonnull
java.lang.String... nodes)
public @JsNonNull XPathExpression createExpression(@Nonnull java.lang.String expression, @Nullable XPathNSResolver resolver)
public @JsNonNull XPathExpression createExpression(@Nonnull java.lang.String expression)
public @JsNonNull XPathNSResolver createNSResolver(@Nonnull Node nodeResolver)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode, @Nullable XPathNSResolver resolver, int type, @Nullable XPathResult result)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode, @Nullable XPathNSResolver resolver, int type)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode, @Nullable XPathNSResolver resolver)
public @JsNonNull XPathResult evaluate(@Nonnull java.lang.String expression, @Nonnull Node contextNode)
public @JsNullable Element getElementById(@Nonnull java.lang.String elementId)
public @JsNonNull JsArray<Animation> getAnimations()
@JsOverlay
public final void addDOMContentLoadedListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDOMContentLoadedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addDOMContentLoadedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeDOMContentLoadedListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDOMContentLoadedListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDOMContentLoadedListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addFullscreenchangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addFullscreenchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addFullscreenchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeFullscreenchangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeFullscreenchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeFullscreenchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addPointerlockchangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointerlockchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointerlockchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removePointerlockchangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointerlockchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointerlockchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addPointerlockerrorListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointerlockerrorListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointerlockerrorListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removePointerlockerrorListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointerlockerrorListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointerlockerrorListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addReadystatechangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addReadystatechangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addReadystatechangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeReadystatechangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeReadystatechangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeReadystatechangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addScrollListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addScrollListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addScrollListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeScrollListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeScrollListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeScrollListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addSelectionchangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addSelectionchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addSelectionchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeSelectionchangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeSelectionchangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeSelectionchangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addSelectstartListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addSelectstartListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addSelectstartListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeSelectstartListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeSelectstartListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeSelectstartListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addVisibilitychangeListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addVisibilitychangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addVisibilitychangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeVisibilitychangeListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeVisibilitychangeListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeVisibilitychangeListener(@Nonnull
EventListener callback)
@JsOverlay
public final void addDragListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDragListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDragListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDragListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDragListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDragListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addDragleaveListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDragleaveListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDragleaveListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDragleaveListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDragleaveListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDragleaveListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addDragstartListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDragstartListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDragstartListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDragstartListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDragstartListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDragstartListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addDropListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDropListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDropListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDropListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDropListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDropListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addErrorListener(@Nonnull
ErrorEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addErrorListener(@Nonnull
ErrorEventListener callback,
boolean useCapture)
@JsOverlay
public final void addErrorListener(@Nonnull
ErrorEventListener callback)
@JsOverlay
public final void removeErrorListener(@Nonnull
ErrorEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeErrorListener(@Nonnull
ErrorEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeErrorListener(@Nonnull
ErrorEventListener callback)
@JsOverlay
public final void addDragendListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDragendListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDragendListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDragendListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDragendListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDragendListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addDragenterListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDragenterListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDragenterListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDragenterListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDragenterListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDragenterListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addDragoverListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDragoverListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDragoverListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDragoverListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDragoverListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDragoverListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addAnimationstartListener(@Nonnull
AnimationEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addAnimationstartListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void addAnimationstartListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void removeAnimationstartListener(@Nonnull
AnimationEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeAnimationstartListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeAnimationstartListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void addAnimationcancelListener(@Nonnull
AnimationEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addAnimationcancelListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void addAnimationcancelListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void removeAnimationcancelListener(@Nonnull
AnimationEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeAnimationcancelListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeAnimationcancelListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void addAnimationendListener(@Nonnull
AnimationEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addAnimationendListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void addAnimationendListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void removeAnimationendListener(@Nonnull
AnimationEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeAnimationendListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeAnimationendListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void addAnimationiterationListener(@Nonnull
AnimationEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addAnimationiterationListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void addAnimationiterationListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void removeAnimationiterationListener(@Nonnull
AnimationEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeAnimationiterationListener(@Nonnull
AnimationEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeAnimationiterationListener(@Nonnull
AnimationEventListener callback)
@JsOverlay
public final void addTransitionrunListener(@Nonnull
TransitionEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTransitionrunListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTransitionrunListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void removeTransitionrunListener(@Nonnull
TransitionEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTransitionrunListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTransitionrunListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void addTransitioncancelListener(@Nonnull
TransitionEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTransitioncancelListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTransitioncancelListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void removeTransitioncancelListener(@Nonnull
TransitionEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTransitioncancelListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTransitioncancelListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void addTransitionstartListener(@Nonnull
TransitionEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTransitionstartListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTransitionstartListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void removeTransitionstartListener(@Nonnull
TransitionEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTransitionstartListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTransitionstartListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void addTransitionendListener(@Nonnull
TransitionEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTransitionendListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTransitionendListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void removeTransitionendListener(@Nonnull
TransitionEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTransitionendListener(@Nonnull
TransitionEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTransitionendListener(@Nonnull
TransitionEventListener callback)
@JsOverlay
public final void addPointerdownListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointerdownListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointerdownListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointerdownListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointerdownListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointerdownListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addGotpointercaptureListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addGotpointercaptureListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addGotpointercaptureListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removeGotpointercaptureListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeGotpointercaptureListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeGotpointercaptureListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addLostpointercaptureListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addLostpointercaptureListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addLostpointercaptureListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removeLostpointercaptureListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeLostpointercaptureListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeLostpointercaptureListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addPointerenterListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointerenterListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointerenterListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointerenterListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointerenterListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointerenterListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addPointeroutListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointeroutListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointeroutListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointeroutListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointeroutListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointeroutListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addPointerupListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointerupListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointerupListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointerupListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointerupListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointerupListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addPointermoveListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointermoveListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointermoveListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointermoveListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointermoveListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointermoveListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addPointerleaveListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointerleaveListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointerleaveListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointerleaveListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointerleaveListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointerleaveListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addPointeroverListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointeroverListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointeroverListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointeroverListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointeroverListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointeroverListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addPointercancelListener(@Nonnull
PointerEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPointercancelListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPointercancelListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void removePointercancelListener(@Nonnull
PointerEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePointercancelListener(@Nonnull
PointerEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePointercancelListener(@Nonnull
PointerEventListener callback)
@JsOverlay
public final void addTouchendListener(@Nonnull
TouchEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTouchendListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTouchendListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void removeTouchendListener(@Nonnull
TouchEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTouchendListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTouchendListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void addTouchmoveListener(@Nonnull
TouchEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTouchmoveListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTouchmoveListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void removeTouchmoveListener(@Nonnull
TouchEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTouchmoveListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTouchmoveListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void addTouchcancelListener(@Nonnull
TouchEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTouchcancelListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTouchcancelListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void removeTouchcancelListener(@Nonnull
TouchEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTouchcancelListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTouchcancelListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void addTouchstartListener(@Nonnull
TouchEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addTouchstartListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void addTouchstartListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void removeTouchstartListener(@Nonnull
TouchEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeTouchstartListener(@Nonnull
TouchEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeTouchstartListener(@Nonnull
TouchEventListener callback)
@JsOverlay
public final void addCopyListener(@Nonnull
ClipboardEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addCopyListener(@Nonnull
ClipboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void addCopyListener(@Nonnull
ClipboardEventListener callback)
@JsOverlay
public final void removeCopyListener(@Nonnull
ClipboardEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeCopyListener(@Nonnull
ClipboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeCopyListener(@Nonnull
ClipboardEventListener callback)
@JsOverlay
public final void addCutListener(@Nonnull
ClipboardEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addCutListener(@Nonnull
ClipboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void addCutListener(@Nonnull
ClipboardEventListener callback)
@JsOverlay
public final void removeCutListener(@Nonnull
ClipboardEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeCutListener(@Nonnull
ClipboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeCutListener(@Nonnull
ClipboardEventListener callback)
@JsOverlay
public final void addDragexitListener(@Nonnull
DragEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addDragexitListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void addDragexitListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void removeDragexitListener(@Nonnull
DragEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeDragexitListener(@Nonnull
DragEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeDragexitListener(@Nonnull
DragEventListener callback)
@JsOverlay
public final void addKeydownListener(@Nonnull
KeyboardEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addKeydownListener(@Nonnull
KeyboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void addKeydownListener(@Nonnull
KeyboardEventListener callback)
@JsOverlay
public final void removeKeydownListener(@Nonnull
KeyboardEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeKeydownListener(@Nonnull
KeyboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeKeydownListener(@Nonnull
KeyboardEventListener callback)
@JsOverlay
public final void addKeypressListener(@Nonnull
KeyboardEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addKeypressListener(@Nonnull
KeyboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void addKeypressListener(@Nonnull
KeyboardEventListener callback)
@JsOverlay
public final void removeKeypressListener(@Nonnull
KeyboardEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeKeypressListener(@Nonnull
KeyboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeKeypressListener(@Nonnull
KeyboardEventListener callback)
@JsOverlay
public final void addKeyupListener(@Nonnull
KeyboardEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addKeyupListener(@Nonnull
KeyboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void addKeyupListener(@Nonnull
KeyboardEventListener callback)
@JsOverlay
public final void removeKeyupListener(@Nonnull
KeyboardEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeKeyupListener(@Nonnull
KeyboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeKeyupListener(@Nonnull
KeyboardEventListener callback)
@JsOverlay
public final void addPasteListener(@Nonnull
ClipboardEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addPasteListener(@Nonnull
ClipboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void addPasteListener(@Nonnull
ClipboardEventListener callback)
@JsOverlay
public final void removePasteListener(@Nonnull
ClipboardEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removePasteListener(@Nonnull
ClipboardEventListener callback,
boolean useCapture)
@JsOverlay
public final void removePasteListener(@Nonnull
ClipboardEventListener callback)
@JsOverlay
public final void addWheelListener(@Nonnull
WheelEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addWheelListener(@Nonnull
WheelEventListener callback,
boolean useCapture)
@JsOverlay
public final void addWheelListener(@Nonnull
WheelEventListener callback)
@JsOverlay
public final void removeWheelListener(@Nonnull
WheelEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeWheelListener(@Nonnull
WheelEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeWheelListener(@Nonnull
WheelEventListener callback)