JavaScript: The Definitive Guide
25.243. Range.setEndBefore( ): end a range before the specified node
DOM Level 2 Range
25.243.1. Synopsis
void setEndBefore(Node refNode) tHRows RangeException, DOMException; 25.243.1.1. Arguments
25.243.1.2. Throws
This method throws the same exceptions in the same circumstances as Range.setEndAfter( ). See that method for details. 25.243.2. Description
This method sets the end point of this range to fall immediately before the specified refNode. |
Категории