Skip to main content
cngx-src documentation

CNGX_DIRECTION

Tokenv0.1.0

InjectionToken<Signal<CngxDirection>>

Description#

Holds the document writing direction as a read-only Signal. Read it through injectDirection; override what it reports (tests, SSR with a known locale, a composite DI-scope) with provideDirection. Defaults to a live DOM reader when no provideDirection() is present, so an injected signal is always available.

Type#

InjectionToken<Signal<CngxDirection>>

Provided in#

'root'