ZVON
>
References
>
DOM2 Reference
Intro
/
Search
/
ZVON
DOM2 reference
>
TraversalRange:
Range
>
collapse
[Go to standard]
[Glossary]
[Help]
collapse (method )
Owning interface and usage:
Range
.
collapse
(
toStart
)
Member of these other interfaces:
none
Description:
Collapse a
Range
onto one of its boundary-points.
Parameters:
Boolean
toStart
-
If
true
, collapses the
Range
onto its start; if
false
, collapses it onto its end.
Returns:
nothing
Exceptions:
DOMException
INVALID_STATE_ERR
Raised if
detach
() has already been invoked on this object.