Skip to main content
cngx-src documentation

CNGX_TOUCH_TARGET

Tokenv0.1.0

InjectionToken<WritableSignal<CngxTouchTargetValue>>

Description#

Holds the app-wide touch-target mode as a WritableSignal. Read it (and write it at runtime) through injectTouchTargets; install the root reflector with provideTouchTargets. Defaults to auto when no provideTouchTargets() is present so an injected signal is always available and the media-derived floor stays primary.

Type#

InjectionToken<WritableSignal<CngxTouchTargetValue>>

Provided in#

'root'