Skip to content
Documentation/MovementConfigInput

Search documentation

Type to search the documentation.

Reference

MovementConfigInput

What provideMovement() accepts: any subset of MovementConfig, with duration and delay taking a MoveTime (320, '320ms', '0.32s').

Overview

What provideMovement() accepts: any subset of MovementConfig, with duration and delay taking a MoveTime (320, '320ms', '0.32s'). The injected MOVEMENT_CONFIG is always normalized to numeric milliseconds.

Stable API — covered by semantic-versioning guarantees.

  • Kind: Type alias
  • Stability: stable

Definition

type MovementConfigInput = Partial<Omit<MovementConfig, 'duration' | 'delay'>> & {
  duration?: MoveTime;
  delay?: MoveTime;
};