Skip to content

API > @blocksuite/virgo > nativePointToTextPoint

Function: nativePointToTextPoint ​

nativePointToTextPoint(node, offset): TextPoint | null

Parameters ​

ParameterType
nodeunknown
offsetnumber

Returns ​

TextPoint | null

Defined In ​

packages/virgo/src/utils/point-conversion.ts:7