@lexical/internal/caretFromPoint
Functions
caretFromPoint()
caretFromPoint(
x,y): {node:Node;offset:number; } |null
Defined in: packages/lexical-internal/src/caretFromPoint.ts:9
Copyright (c) Meta Platforms, Inc. and affiliates.
This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.
Parameters
x
number
y
number
Returns
{ node: Node; offset: number; } | null