UNPKG

@gechiui/dom

Version:
9 lines 453 B
/** * Places the caret at the top or bottom of a given element. * * @param {HTMLElement} container Focusable element. * @param {boolean} isReverse True for bottom, false for top. * @param {DOMRect} [rect] The rectangle to position the caret with. */ export default function placeCaretAtVerticalEdge(container: HTMLElement, isReverse: boolean, rect?: DOMRect | undefined): void; //# sourceMappingURL=place-caret-at-vertical-edge.d.ts.map