Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. Node
  4. clone method
clone
description

clone method

  1. @JSName.new('cloneNode')
Nodeclone(
  1. bool?deep
)

Returns a copy of this node.

Ifdeep istrue, then all of this node's children and descendants arecopied as well. Ifdeep isfalse, then only this node is copied.

Other resources

Implementation

@JSName('cloneNode')/** * Returns a copy of this node. * * If [deep] is `true`, then all of this node's children and descendants are * copied as well. If [deep] is `false`, then only this node is copied. * * ## Other resources * * * [Node.cloneNode](https://developer.mozilla.org/en-US/docs/Web/API/Node.cloneNode) *   from MDN. */Node clone(bool? deep) native;
  1. Dart
  2. dart:html
  3. Node
  4. clone method
Node class

[8]ページ先頭

©2009-2025 Movatter.jp