Configuration for {@link createReorderCommitHandler}
ReorderCommitHandlerOptions
Interface
projects/forms/select/shared/reorder-commit-handler.ts
Import#
import { ReorderCommitHandlerOptions } from '@cngx/forms/select'
Description#
Configuration for createReorderCommitHandler.
Index#
Instance Properties#
commitController#
CngxCommitControllerReadonly
Shared low-level commit controller. Reorder commits bypass
createArrayCommitHandler (whose sameArrayContents would skip
same-membership writes) and drive this controller directly.
Readonly
Announce the reorder. Pulled out so consumers can route to a custom announcer without forking.
Readonly
Emit selectionChange + reordered payload. Consumer controls the
shape; signature covers optimistic / pessimistic / no-commit
branches.
Readonly
Update the rollback snapshot. Called on optimistic-mode begin (stash pre-reorder state) and on success (store canonicalised server value).