blueprintRangeQuery

Type: Object

How to get blueprintRangeQuery?

JavaScript

import blueprintRangeQuery from 'fontoxml-blueprints/src/blueprintRangeQuery.js'

BlueprintRangeQuery provides convenience methods to work with DOM Ranges.

In contexts where a Blueprint is available, always use this instead of domRangeQuery to ensure the correct state of the DOM is used.

Static properties

findNodesContainedInRange

Type: Function

Find all nodes matching the given nodespec, optionally also including matching descendants, instead of only top level matches.

Refer to blueprintRangeQuery for more information on how to import and use this function.

Arguments

Returns