Movatterモバイル変換


[0]ホーム

URL:


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

DocumentFragment class

Inheritance
Implemented types
Implementers
Annotations
  • @Native.new("DocumentFragment")

Constructors

DocumentFragment()
factory
DocumentFragment.html(String?html, {NodeValidator?validator,NodeTreeSanitizer?treeSanitizer})
factory
DocumentFragment.svg(String?svgContent, {NodeValidator?validator,NodeTreeSanitizer?treeSanitizer})
factory

Properties

baseUriString?
no setterinherited
childNodesList<Node>
A list of this node's children.
no setterinherited
childrenList<Element>
getter/setter pair
firstChildNode?
The first child of this node.
no setterinherited
hashCodeint
The hash code for this object.
no setterinherited
innerHtmlString?
getter/setter pair
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
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
previousNodeNode?
The previous sibling node.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
textString?
All text within this node and its descendants.
getter/setter pairinherited

Methods

addEventListener(Stringtype,EventListener?listener, [bool?useCapture])→ void
inherited
append(Nodenode)Node
Adds a node to the end of the childnodes list of this node.
inherited
appendHtml(Stringtext, {NodeValidator?validator,NodeTreeSanitizer?treeSanitizer})→ void
Parses the specified text as HTML and adds the resulting node after thelast child of this document fragment.
appendText(Stringtext)→ void
Adds the specified text as a text node after the last child of thisdocument fragment.
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
dispatchEvent(Eventevent)bool
inherited
getElementById(StringelementId)Element?
override
getRootNode([Map?options])Node
inherited
hasChildNodes()bool
Returns true if this node has any children.
inherited
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
querySelector(Stringselectors)Element?
Finds the first descendant element of this document fragment that matchesthe specified group of selectors.
override
querySelectorAll<T extendsElement>(Stringselectors)ElementList<T>
Finds all descendant elements of this document fragment that match thespecified group 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
setInnerHtml(String?html, {NodeValidator?validator,NodeTreeSanitizer?treeSanitizer})→ void
toString()String
Print out a String representation of this Node.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited
  1. Dart
  2. dart:html
  3. DocumentFragment class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp