$getChildCaret
functionGet a caret that points at the first or last child of the given origin node, which must be an ElementNode.
Import
import { $getChildCaret } from '@modular/sdk/editor';Notes
- returns
- null if origin is null or not an ElementNode, otherwise a ChildCaret for this origin and direction