Selection.extend() method moves the focus of the
selection to a specified point. The anchor of the selection does not move. The selection
will be from the anchor to the new focus, regardless of direction.
extend(node) extend(node, offset)
The node within which the focus will be moved.
The offset position within
nodewhere the focus will be moved to. If not specified, the default value
|Selection API |
BCD tables only load in the browser
Selection, the interface it belongs to.