Files
eewing ec317eb17c
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m11s
INIT
2026-02-18 15:17:47 -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;