javascript Range collapsed
| collapsed | NN 6 IE n/a DOM 2 |
| Read-only | |
|
Returns Boolean true if the range's start and end points are at the same location, encompassing zero characters. A collapsed range can be located anywhere within the document. |
|
| Example | |
if (rng.collapsed) {
// act on collapsed text range
}
|
|
| Value | |
Boolean value: true | false. |
|
| Default | |
None. |
|
1623,Nickname,Homepage or email,Comments here,Add comment
