Skip to main content
cngx-src documentation

CngxReorderEvent

Interface

projects/common/interactive/reorder/reorder.directive.ts

Referenced by#

Import#

import { CngxReorderEvent } from '@cngx/common/interactive'

Description#

Payload emitted by (reordered) whenever a pointer drag or a modifier + arrow keyboard move settles on a new position.

next is a fresh array - the source signal is never mutated in place, so downstream computed() graphs see a new reference and re-evaluate. Consumers own the write back to the source signal (directly, or via a commit controller for optimistic / pessimistic policies).

Index#

Instance Properties#

fromIndex#number
Readonly
toIndex#number
Readonly