createRangeRoot

View Source

Summary

Creates a virtual root bounded by two DOM nodes.

Signature

function createRangeRoot(
  boundaries: [Node, Node],
  options: VirtualRootOptions,
): VirtualRoot;

Params

boundaries

Start and end marker nodes that define the render region.

options

Root configuration.

Returns

A virtual root controller.