Files
eewing cf73cd3b4c INIT
2026-02-17 14:10:16 -06:00

7 lines
276 B
TypeScript

import type { Direction } from "../shared/index.js";
/**
* Detects the text direction in the element.
* @returns {Direction} The text direction ('ltr' for left-to-right or 'rtl' for right-to-left).
*/
export declare function getElemDirection(elem: HTMLElement): Direction;