Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

intersectsNode

Description

The intersectsNode of Range for JS 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)

HomeMenu