DI token for ancestor-/self-discoverable primary async state · Minimal Contract for components that expose a primary ...
core/utils
Category
No results found
Features2#
References21#
- InterfaceCngxStatefulMinimal Contract for components that expose a primary async state
- 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...
- FunctionhasTransitionChecks whether an element has any CSS transition applied
- 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
- InterfaceAsyncStateViewSourcesSource signals for building a read-only async state view
- InterfaceCngxAsyncStateUX state machine interface for any asynchronous operation
- InterfaceStatusTransitionReactive current/previous pair for AsyncStatus transitions
- FunctionbuildAsyncStateViewBuild a read-only CngxAsyncState<T> view from source signals
- FunctioncreateTransitionTrackerCreates a reactive transition tracker for an AsyncStatus source
- Type AliasAsyncStatusDiscriminated status of an async operation lifecycle
- 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}
- 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 ...