Skip to main content

FlipAnimator

Defined in: dnd/src/flipAnimation.ts:20

Properties

captureFirst

captureFirst: (container: HTMLElement) => void

Defined in: dnd/src/flipAnimation.ts:22

Capture the "first" positions of all matching elements.

Parameters

ParameterType
containerHTMLElement

Returns

void


playLast

playLast: (container: HTMLElement) => void

Defined in: dnd/src/flipAnimation.ts:27

Measure "last" positions, compute deltas, and animate. Call this in useLayoutEffect after React has committed the new DOM.

Parameters

ParameterType
containerHTMLElement

Returns

void


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.