Selects a range of nodes.
- macOS 10.3+
The range of nodes to select. If
nil, the current selection is cleared. This method raises a
DOMRangeif the range has been detached or refers to nodes not displayed by the receiver.
selectionproperty for information on selection affinity.