intersectsNode

The intersectsNode JS Range returns whether range intersects node.

Syntax

intersects = range.intersectsNode(node)

Parameters

node

A node.

Examples

1 · p · false

2 · p · true

3 · div · false

4 · div · true

commonAncestorContainer

comparePoint

createContextualFragment

Range

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu