Scopes the writing direction of a subtree by reflecting [cngxDir] onto the host [attr.dir] - the escape hatch for a d
core
Category
No results found
Features19#
- DirectiveCngxDirScopes the writing direction of a subtree by reflecting [cngxDir] onto the host [attr.dir] - the escape hatch for a d...
- TokenCNGX_DIRECTIONHolds the document writing direction as a read-only Signal
- DirectiveCngxContrastScopes the contrast preference to a subtree by reflecting [cngxContrast] onto the host [data-contrast] attribute - th...
- DirectiveCngxDensityScopes the density preference to a subtree by reflecting [cngxDensity] onto the host [data-density] attribute
- DirectiveCngxMotionScopeScopes the motion preference to a subtree by reflecting [cngxMotionScope] onto the host [data-motion] attribute
- DirectiveCngxTouchTargetScopes the touch-target mode to a subtree by reflecting [cngxTouchTarget] onto the host [data-touch] attribute
- TokenCNGX_A11Y_STORAGEThe Storage backend {@link withPersistence} reads from and writes to
- TokenCNGX_CONTRASTHolds the app-wide contrast preference as a WritableSignal
- TokenCNGX_DENSITYHolds the app-wide density preference as a WritableSignal
- TokenCNGX_MOTIONHolds the app-wide motion preference as a WritableSignal
- TokenCNGX_TEXT_SCALEHolds the app-wide text-scale preference as a WritableSignal
- TokenCNGX_TOUCH_TARGETHolds the app-wide touch-target mode as a WritableSignal
- TokenCNGX_FORM_FIELD_CONTROLWCAG AAInjection token provided by controls inside a cngx-form-field (or any other host that consumes the same contract)
- TokenCNGX_FORM_FIELD_HOSTWCAG AAInjection token resolving to the surrounding form-field-host contract, if any
- TokenENVIRONMENTInjection token for the application environment configuration
- TokenWINDOWProvides access to the browser Window object
- TokenCNGX_LOADING_CONFIGInjection token carrying the resolved {@link CngxLoadingConfig}
- TokenCNGX_STATEFULDI token for ancestor-/self-discoverable primary async state
- TokenCNGX_SELECTION_CONTROLLER_FACTORYInjection token that resolves the factory used to instantiate a {@link SelectionController}
References110#
- FunctioninjectDirectionRead the document writing-direction signal in an injection context
- FunctionprovideDirectionOverride the direction the {@link CNGX_DIRECTION} signal reports with a fixed value, without touching documentElement...
- FunctionprovideDirectionAtElement-injector twin of {@link provideDirection}
- FunctionresolveInlineArrowKeyResolve a physical arrow key into its logical inline counterpart, honouring the writing direction
- FunctionresolveInlineStepResolve a horizontal arrow key into an inline-axis index step, honouring the writing direction
- Type AliasCngxDirectionThe writing-direction axis cngx derives from the DOM
- InterfaceCngxStepScanScan description for {@link resolveStepFrom} and {@link resolveBoundaryStep}
- FunctionresolveBoundaryStepResolve the first ( direction: 1 ) or last ( direction: -1 ) enabled index of the range, or null when the range is em...
- FunctionresolveStepFromResolve the next enabled index from current in direction , skipping disabled indices, wrapping under loop , or null w...
- InterfaceStringManifestEntryOne row of any of the three manifests
- FunctioninjectA11yPreferencesRead the four accessibility-axis signals as one bundle in an injection context
- FunctioninjectContrastRead the app-wide contrast signal in an injection context
- FunctioninjectDensityRead the app-wide density signal in an injection context
- FunctioninjectMotionRead the app-wide motion signal in an injection context
- FunctioninjectTextScaleRead the app-wide text-scale signal in an injection context
- FunctioninjectTouchTargetsRead the app-wide touch-target signal in an injection context
- FunctioninstallAxisPersistence
- FunctionprovideA11yPreferencesInstall all four accessibility axes (density, text-scale, motion, contrast) behind one call
- FunctionprovideContrastInstall the contrast preference at app root and reflect it onto <html data-contrast> , driving the higher-contr...
- FunctionprovideDensityInstall the density preference at app root and reflect it onto <html data-density> , mirroring how the colour r...
- FunctionprovideMotionInstall the motion preference at app root and reflect it onto <html data-motion> , driving the reduced-motion s...
- FunctionprovidePersistence
- FunctionprovideTextScaleInstall the text-scale preference at app root and reflect it onto <html data-text-size> , mirroring how density...
- FunctionprovideTouchTargetsInstall the touch-target mode at app root and reflect it onto <html data-touch>
- FunctionreadStored
- FunctionwithContrastSet the initial contrast preference the aggregator installs
- FunctionwithDensitySet the initial density rung the aggregator installs
- FunctionwithMotionSet the initial motion preference the aggregator installs
- FunctionwithPersistencePersist explicit accessibility choices via {@link CNGX_A11Y_STORAGE} (browser localStorage by default) under storageK...
- FunctionwithTextScaleSet the initial text-scale rung the aggregator installs
- VariableALREADY_COVEREDStrings the scanner cannot prove are covered, but which are - the override read happens through an indirection the re...
- VariableCONTRAST_VALUES
- VariablecontrastAxis
- VariableDENSITY_VALUES
- VariabledensityAxis
- VariableEXCLUDEDDeliberate non-hooks
- VariableMOTION_VALUES
- VariablemotionAxis
- VariableRATCHETThe gap list: user-facing strings that ship with no override path
- VariableTEXT_SCALE_VALUES
- VariabletextScaleAxis
- VariabletouchTargetAxis
- Type AliasCngxA11yPrefFeatureA feature for {@link provideA11yPreferences}
- Type AliasCngxContrastPreferenceThe three contrast preferences the [data-contrast] axis ships ( contrast-tokens.css )
- Type AliasCngxDensityValueThe three density rungs the [data-density] scale swap ships ( density-tokens.css )
- Type AliasCngxMotionPreferenceThe three motion preferences the [data-motion] axis ships ( motion-tokens.css )
- Type AliasCngxTextScaleValueThe three text-scale rungs the [data-text-size] swap ships ( text-scale-tokens.css )
- Type AliasCngxTouchTargetValueThe three touch-target modes the [data-touch] floor accepts
- InterfaceCngxFormFieldControlContract every form control fulfils when participating in a cngx-form-field (or any future host that adopts the same ...
- InterfaceCngxFormFieldHostContractNarrow back-channel a form-field-aware host (typically CngxFormFieldPresenter ) exposes to the bound control
- InterfaceEnvironmentApplication environment descriptor
- FunctioninjectWindowInjects the WINDOW token
- FunctionprovideEnvironmentProvides an Environment value for the ENVIRONMENT token
- FunctionprovideWindowProvides a custom Window reference (useful for testing or SSR)
- Type AliasCngxFieldSkinVisual appearance of a form control and of the field that surrounds it
- InterfaceCngxLatencyProbeMeasured busy-envelope duration for a boolean-busy source
- InterfaceCngxLoadingConfigLoading-feedback tuning: the visibility-gate timings shared by every surface that gates its visibility through create...
- InterfaceCngxLoadingConfigFeatureA feature configuration function returned by withXxx() helpers for the loading-config cascade
- InterfaceCngxStatefulMinimal Contract for components that expose a primary async state
- InterfaceMemoizeOptionsOptions for {@link memoize}
- InterfaceTransitionDoneHandleHandle for a pending {@link onTransitionDone} wait
- FunctioncoerceBooleanPropertyCoerces a value to a boolean
- FunctioncoerceNumberPropertyCoerces a value to a number
- FunctioncreateControlledSourceDerives a controlled/uncontrolled source signal: a higher-precedence priority source wins over a lower-precedence fal...
- FunctioncreateLatencyProbeMeasures how long the previous busy window lasted, from a boolean-busy source
- FunctioncreateVisibilityGateCreates a debounced visibility signal from an active-state signal
- FunctiondateTimeFormatterForBounded Intl.DateTimeFormat cache keyed on locale + options
- FunctionhasTransitionChecks whether an element has any CSS transition applied
- FunctioninjectLoadingConfigRead the resolved {@link CngxLoadingConfig}
- FunctionmemoizeCreates a memoized version of a single-argument pure function
- FunctionnextUidGenerates a unique ID string with the given prefix
- FunctiononTransitionDoneListens for the longest CSS transition on an element, then invokes onDone
- FunctionprovideLoadingConfigRegister app-wide loading timing defaults
- FunctionprovideLoadingConfigAtComponent-scope twin of {@link provideLoadingConfig} for viewProviders
- FunctionresolveLoadingConfig
- FunctionresolveLoadingTreatmentPick a spinner or a skeleton from an observed busy-envelope duration
- FunctionwithMinDwellOverride the minimum dwell time for gated loading surfaces
- FunctionwithShowDelayOverride the show delay for gated loading surfaces
- FunctionwithSpinnerVsSkeletonCutoffOverride the spinner-vs-skeleton cutoff (ms) an app-shell indicator reads to pick a skeleton for waits longer than th...
- VariableCNGX_LOADING_DEFAULTSLibrary defaults for {@link CngxLoadingConfig}
- VariableDATE_TIME_FORMATTER_CACHE_LIMIT
- VariableformatterForKey
- Type AliasCngxLoadingTreatmentWhat a loading surface renders while it waits
- InterfaceAnnouncementPhraseOptionsOptions for {@link createAnnouncementPhrase}
- InterfaceAsyncStateViewSourcesSource signals for building a read-only async state view
- InterfaceCngxAsyncStateUX state machine interface for any asynchronous operation
- InterfaceTransitionTrackerOptionsOptions for {@link createTransitionTracker}
- InterfaceValueTransitionReactive current/previous pair for arbitrary value transitions
- FunctionbuildAsyncStateViewBuild a read-only CngxAsyncState<T> view from source signals
- FunctioncreateAggregateAsyncStateAggregate N independent CngxAsyncState s into one derived CngxAsyncState
- FunctioncreateAnnouncementPhraseWCAG AADeclarative live-region phrase with transition arming and expiry - the shared shape behind "voice the change, no...
- FunctioncreateTransitionTrackerCreates a reactive transition tracker for any value source
- Type AliasAsyncStatusDiscriminated status of an async operation lifecycle
- Type AliasStatusTransitionReactive current/previous pair for AsyncStatus transitions - the {@link ValueTransition} specialisation every async-s...
- InterfaceKeyComboParsed keyboard combo
- FunctionmatchesKeyComboTests whether a KeyboardEvent matches a parsed {@link KeyCombo}
- FunctionparseKeyComboParses a keyboard shortcut string like 'ctrl+shift+k' or 'mod+b' into a structured {@link KeyCombo}
- InterfaceMediaQueryHostStructural window surface the media-query helpers read: window , globalThis , or a test double
- FunctioncreateMediaQuerySignalCreates a reactive Signal<boolean> that reflects whether host currently matches a CSS media query
- FunctionobserveMediaQuerySubscribes apply to a media query's match state on host
- InterfaceKeyedRegistryKeyed registry handle returned by {@link createKeyedRegistry}
- InterfaceRegistryOptionsConfiguration for {@link createKeyedRegistry} / {@link createSlotRegistry}
- InterfaceSlotRegistrySingle-slot registry handle returned by {@link createSlotRegistry}
- FunctioncreateKeyedRegistrySignal-based keyed registry with a destroy-safe unregister path
- FunctioncreateSlotRegistrySignal-based single-slot registry with a destroy-safe release path
- InterfaceSelectionControllerSignal-based selection engine
- InterfaceSelectionControllerOptionsConfiguration options for createSelectionController
- FunctioncreateSelectionControllerCreate a signal-based selection engine that reads and writes an external WritableSignal<T[]>
- Type AliasCngxSelectionControllerFactoryFactory signature for {@link SelectionController} - the exact shape of {@link createSelectionController}, carried as ...
- FunctionmatchesTypeaheadCase-insensitive prefix match between an item label and a typeahead query term - THE matching semantic of every cngx ...