Skip to content
Documentation/movePathDraw

Search documentation

Type to search the documentation.

Reference

movePathDraw

Returns keyframes for a path-drawing animation.

Overview

Returns keyframes for a path-drawing animation. Ideal for SVG <path>, <circle>, <line>, etc.

  • Kind: Function
  • Stability: stable

Signature

function movePathDraw(overrides?: Partial<MoveKeyframes>): MoveKeyframes
Parameter Type Optional Description
overrides Partial<MoveKeyframes> Yes

Returns MoveKeyframes

Examples

<path [moveTarget]="animate()" [moveFrames]="movePathDraw({ opacity: [0, 1] })" moveDuration="700" />

Stable API — covered by semantic-versioning guarantees.