Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. Document class
Document
description

Document class

The base class for all documents.

Each web page loaded in the browser has its ownDocument object, which istypically anHtmlDocument.

If you aren't comfortable with DOM concepts, see the Dart tutorialTarget 2: Connect Dart & HTML.

Inheritance
Implementers
Annotations
  • @Native.new("Document")

Constructors

Document()
factory

Properties

activeElementElement?
no setter
addressSpaceString?
no setter
baseUriString?
no setterinherited
childNodesList<Node>
A list of this node's children.
no setterinherited
contentTypeString?
no setter
cookieString?
getter/setter pair
currentScriptScriptElement?
no setter
documentElementElement?
no setter
domainString?
no setter
firstChildNode?
The first child of this node.
no setterinherited
fontsFontFaceSet?
no setter
fullscreenElementElement?
no setter
fullscreenEnabledbool?
no setter
hashCodeint
The hash code for this object.
no setterinherited
hiddenbool?
no setter
implementationDomImplementation?
no setter
isConnectedbool?
no setterinherited
lastChildNode?
The last child of this node.
no setterinherited
nextNodeNode?
The next sibling node.
no setterinherited
nodeNameString?
The name of this node.
no setterinherited
nodesList<Node>
A modifiable list of this node's children.
getter/setter pairinherited
nodeTypeint
The type of node.
no setterinherited
nodeValueString?
The value of this node.
no setterinherited
onEvents
This is an ease-of-use accessor for event streams which should only beused when an explicit accessor is not available.
no setterinherited
onAbortStream<Event>
Stream ofabort events handled by thisDocument.
no setter
onBeforeCopyStream<Event>
Stream ofbeforecopy events handled by thisDocument.
no setter
onBeforeCutStream<Event>
Stream ofbeforecut events handled by thisDocument.
no setter
onBeforePasteStream<Event>
Stream ofbeforepaste events handled by thisDocument.
no setter
onBlurStream<Event>
Stream ofblur events handled by thisDocument.
no setter
onCanPlayStream<Event>
no setter
onCanPlayThroughStream<Event>
no setter
onChangeStream<Event>
Stream ofchange events handled by thisDocument.
no setter
onClickStream<MouseEvent>
Stream ofclick events handled by thisDocument.
no setter
onContextMenuStream<MouseEvent>
Stream ofcontextmenu events handled by thisDocument.
no setter
onCopyStream<ClipboardEvent>
Stream ofcopy events handled by thisDocument.
no setter
onCutStream<ClipboardEvent>
Stream ofcut events handled by thisDocument.
no setter
onDoubleClickStream<Event>
Stream ofdoubleclick events handled by thisDocument.
no setter
onDragStream<MouseEvent>
Stream ofdrag events handled by thisDocument.
no setter
onDragEndStream<MouseEvent>
Stream ofdragend events handled by thisDocument.
no setter
onDragEnterStream<MouseEvent>
Stream ofdragenter events handled by thisDocument.
no setter
onDragLeaveStream<MouseEvent>
Stream ofdragleave events handled by thisDocument.
no setter
onDragOverStream<MouseEvent>
Stream ofdragover events handled by thisDocument.
no setter
onDragStartStream<MouseEvent>
Stream ofdragstart events handled by thisDocument.
no setter
onDropStream<MouseEvent>
Stream ofdrop events handled by thisDocument.
no setter
onDurationChangeStream<Event>
no setter
onEmptiedStream<Event>
no setter
onEndedStream<Event>
no setter
onErrorStream<Event>
Stream oferror events handled by thisDocument.
no setter
onFocusStream<Event>
Stream offocus events handled by thisDocument.
no setter
onFullscreenChangeStream<Event>
Stream offullscreenchange events handled by thisDocument.
no setter
onFullscreenErrorStream<Event>
Stream offullscreenerror events handled by thisDocument.
no setter
onInputStream<Event>
Stream ofinput events handled by thisDocument.
no setter
onInvalidStream<Event>
Stream ofinvalid events handled by thisDocument.
no setter
onKeyDownStream<KeyboardEvent>
Stream ofkeydown events handled by thisDocument.
no setter
onKeyPressStream<KeyboardEvent>
Stream ofkeypress events handled by thisDocument.
no setter
onKeyUpStream<KeyboardEvent>
Stream ofkeyup events handled by thisDocument.
no setter
onLoadStream<Event>
Stream ofload events handled by thisDocument.
no setter
onLoadedDataStream<Event>
no setter
onLoadedMetadataStream<Event>
no setter
onMouseDownStream<MouseEvent>
Stream ofmousedown events handled by thisDocument.
no setter
onMouseEnterStream<MouseEvent>
Stream ofmouseenter events handled by thisDocument.
no setter
onMouseLeaveStream<MouseEvent>
Stream ofmouseleave events handled by thisDocument.
no setter
onMouseMoveStream<MouseEvent>
Stream ofmousemove events handled by thisDocument.
no setter
onMouseOutStream<MouseEvent>
Stream ofmouseout events handled by thisDocument.
no setter
onMouseOverStream<MouseEvent>
Stream ofmouseover events handled by thisDocument.
no setter
onMouseUpStream<MouseEvent>
Stream ofmouseup events handled by thisDocument.
no setter
onMouseWheelStream<WheelEvent>
Stream ofmousewheel events handled by thisDocument.
no setter
onPasteStream<ClipboardEvent>
Stream ofpaste events handled by thisDocument.
no setter
onPauseStream<Event>
no setter
onPlayStream<Event>
no setter
onPlayingStream<Event>
no setter
onPointerLockChangeStream<Event>
no setter
onPointerLockErrorStream<Event>
no setter
onRateChangeStream<Event>
no setter
onReadyStateChangeStream<Event>
Stream ofreadystatechange events handled by thisDocument.
no setter
onResetStream<Event>
Stream ofreset events handled by thisDocument.
no setter
onResizeStream<Event>
no setter
onScrollStream<Event>
Stream ofscroll events handled by thisDocument.
no setter
onSearchStream<Event>
Stream ofsearch events handled by thisDocument.
no setter
onSecurityPolicyViolationStream<SecurityPolicyViolationEvent>
Stream ofsecuritypolicyviolation events handled by thisDocument.
no setter
onSeekedStream<Event>
no setter
onSeekingStream<Event>
no setter
onSelectStream<Event>
Stream ofselect events handled by thisDocument.
no setter
onSelectionChangeStream<Event>
Stream ofselectionchange events handled by thisDocument.
no setter
onSelectStartStream<Event>
Stream ofselectstart events handled by thisDocument.
no setter
onStalledStream<Event>
no setter
onSubmitStream<Event>
Stream ofsubmit events handled by thisDocument.
no setter
onSuspendStream<Event>
no setter
onTimeUpdateStream<Event>
no setter
onTouchCancelStream<TouchEvent>
Stream oftouchcancel events handled by thisDocument.
no setter
onTouchEndStream<TouchEvent>
Stream oftouchend events handled by thisDocument.
no setter
onTouchMoveStream<TouchEvent>
Stream oftouchmove events handled by thisDocument.
no setter
onTouchStartStream<TouchEvent>
Stream oftouchstart events handled by thisDocument.
no setter
onVolumeChangeStream<Event>
no setter
onWaitingStream<Event>
no setter
originString?
no setter
ownerDocumentDocument?
The document this node belongs to.
no setterinherited
parentElement?
The parent element of this node.
no setterinherited
parentNodeNode?
The parent node of this node.
no setterinherited
pointerLockElementElement?
no setter
previousNodeNode?
The previous sibling node.
no setterinherited
readyStateString?
no setter
rootElementSvgSvgElement?
no setter
rootScrollerElement?
getter/setter pair
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
scrollingElementElement?
no setter
suboriginString?
no setter
textString?
All text within this node and its descendants.
getter/setter pairinherited
timelineDocumentTimeline?
no setter
visibilityStateString
no setter
windowWindowBase?
no setter

Methods

addEventListener(Stringtype,EventListener?listener, [bool?useCapture])→ void
inherited
adoptNode(Nodenode)Node
append(Nodenode)Node
Adds a node to the end of the childnodes list of this node.
inherited
clone(bool?deep)Node
Returns a copy of this node.
inherited
contains(Node?other)bool
Returns true if this node contains the specified node.
inherited
createDocumentFragment()DocumentFragment
createElement(StringtagName, [String?typeExtension])Element
createElementNS(StringnamespaceURI,StringqualifiedName, [String?typeExtension])Element
createRange()Range
dispatchEvent(Eventevent)bool
inherited
elementsFromPoint(intx,inty)List<Element>
execCommand(StringcommandId, [bool?showUI,String?value])bool
exitFullscreen()→ void
exitPointerLock()→ void
getAnimations()List<Animation>
getElementById(StringelementId)Element?
getElementsByClassName(StringclassNames)List<Node>
getElementsByName(StringelementName)List<Node>
getElementsByTagName(StringlocalName)List<Node>
getRootNode([Map?options])Node
inherited
hasChildNodes()bool
Returns true if this node has any children.
inherited
importNode(Nodenode, [bool?deep])Node
insertAllBefore(Iterable<Node>newNodes,Nodechild)→ void
Inserts all of the nodes into this node directly before child.
inherited
insertBefore(Nodenode,Node?child)Node
Inserts the given node into this node directly before child.If child isnull, then the given node is inserted at the endof this node's child nodes.
inherited
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryCommandEnabled(StringcommandId)bool
queryCommandIndeterm(StringcommandId)bool
queryCommandState(StringcommandId)bool
queryCommandSupported(StringcommandId)bool
queryCommandValue(StringcommandId)String
querySelector(Stringselectors)Element?
Finds the first descendant element of this document that matches thespecified group of selectors.
querySelectorAll<T extendsElement>(Stringselectors)ElementList<T>
Finds all descendant elements of this document that match the specifiedgroup of selectors.
remove()→ void
Removes this node from the DOM.
inherited
removeEventListener(Stringtype,EventListener?listener, [bool?useCapture])→ void
inherited
replaceWith(NodeotherNode)Node
Replaces this node with another node.
inherited
toString()String
Print out a String representation of this Node.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Constants

pointerLockChangeEvent→ constEventStreamProvider<Event>
pointerLockErrorEvent→ constEventStreamProvider<Event>
readyStateChangeEvent→ constEventStreamProvider<Event>
Static factory designed to exposereadystatechange events to eventhandlers that are not necessarily instances ofDocument.
securityPolicyViolationEvent→ constEventStreamProvider<SecurityPolicyViolationEvent>
Static factory designed to exposesecuritypolicyviolation events to eventhandlers that are not necessarily instances ofDocument.
selectionChangeEvent→ constEventStreamProvider<Event>
Static factory designed to exposeselectionchange events to eventhandlers that are not necessarily instances ofDocument.
  1. Dart
  2. dart:html
  3. Document class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp