nullif there should be no currently selected node
If tree is in single selection mode and a new node is selected, old node is automatically unselected (and the event is fired on listeners). @param node The node to select or deselect @param selected If true, the node will be selected, otherwise, the node will be unselected
If tree is in single selection mode and a new node is selected, old node is automatically unselected (and the event is fired on listeners). @param node The node to select or deselect @param selected If true, the node will be selected, otherwise, the node will be unselected
nullif there should be no currently selected node
refNode is an Entity, Notation or DocumentType node or if refNode is a Document, DocumentFragment, Attr, Entity, or Notation node.
@exception DOMException INVALID_STATE_ERR: Raised if detach() has already been invoked on this object. refNode was created from a different document than the one that created this range.
| |
| |
| |
| |
| |
| |
| |
| |