Skip to main content
cngx-src documentation

CngxDirection

Type Aliascore/bidi

projects/core/bidi/direction.ts

Referenced by#

Description#

The writing-direction axis cngx derives from the DOM. ltr and rtl are the only two values the reactive graph reasons about; dir="auto", an unknown value, and an absent dir all normalise to 'ltr' (native CSS/bidi still honour dir="auto" in the DOM - the signal is a binary axis for logic, not a mirror of the browser's per-content resolution).

Definition#

"ltr" | "rtl"