方法
-
addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
-
继承
-
after(Object nodes) → void
-
继承
-
append(Node node) → Node
- 将节点添加到此节点子节点列表 nodes 的末尾。
继承
-
appendData(String data) → void
-
继承
-
before(Object nodes) → void
-
继承
-
clone(bool? deep) → Node
- 返回此节点的副本。
继承
-
contains(Node? other) → bool
- 如果此节点包含指定的节点,则返回 true。
继承
-
deleteData(int offset, int count) → void
-
继承
-
dispatchEvent(Event event) → bool
-
继承
-
getDestinationInsertionPoints() → List<Node>
-
-
getRootNode([Map? options]) → Node
-
继承
-
hasChildNodes() → bool
- 如果此节点有任何子节点,则返回 true。
继承
-
insertAllBefore(Iterable<Node> newNodes, Node child) → void
- 将所有节点直接插入到该节点在child节点之前。
继承
-
insertBefore(Node node, Node? child) → Node
- 将指定的节点直接插入到该节点在child节点之前。如果child是
null,则将指定的节点插入到该节点的子节点末尾。继承
-
insertData(int offset, String data) → void
-
继承
-
noSuchMethod(Invocation invocation) → dynamic
- 当访问不存在的方法或属性时调用。
继承
-
remove() → void
- 从DOM中删除此节点。
继承
-
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
-
继承
-
replaceData(int offset, int count, String data) → void
-
继承
-
replaceWith(Node otherNode) → Node
- 用另一个节点替换此节点。
继承
-
splitText(int offset) → Text
-
-
substringData(int offset, int count) → String
-
继承
-
toString() → String
- 打印出此节点的字符串表示形式。
继承