Remix
Remix
remix/ui · FunctionView Source

createRangeRoot

Summary

Creates a virtual root bounded by two DOM nodes.

Signature

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

Parameters

boundaries

Start and end marker nodes that define the render region.

options

Root configuration.

Returns

A virtual root controller.