Skip to main content

Module video

Module video 

Source

Structs§

AnimationTiming
Timing configuration for preset animations.
BurstConfig
Configuration for the burst animation effect: a ring of short strokes that shoot outward from just off the node’s own box edge and then retract, the splash of ink a pill or a badge throws when it pops in.
CaptionWord
CaretConfig
A caret pinned to a text’s reveal head.
CharAnimation
Per-character or per-word text animation configuration (legacy root-level prop).
CharAnimationTiming
Timing configuration for char animation effect variants (used inside style.animation).
GlowConfig
Glow effect (colored luminous halo around the element)
Gradient
GradientBorder
InnerShadow
Inner shadow configuration (inset shadow).
KeyframesConfig
Custom keyframe animations configuration.
MotionBlurConfig
Motion blur configuration.
MotionPathConfig
Configuration for the motion_path animation effect: moves — and, optionally, orients — a component along an SVG path.
OrbitConfig
Configuration for a 3D orbit/floating animation effect. Creates circular or elliptical motion with pseudo-depth (scale + opacity modulation).
ShapeText
ShatterConfig
Configuration for the shatter animation effect: the node’s own rendered subtree — background, border, content and children, exactly as it would have painted — is rasterised once, cut into pieces convex cells by a deterministic Voronoi partition seeded by seed, and each cell is flown away from origin, spun and faded independently.
ShatterOrigin
Fractional point within shatter’s own box — { "x": 0.0, "y": 0.0 } is the top-left corner, { "x": 1.0, "y": 1.0 } the bottom-right. See ShatterConfig::origin.
ShimmerConfig
A band of light sweeping across the element, restricted to the pixels the element actually painted.
Stroke
SvgPathMorph
Animates the d attribute of one <path> inside an inline svg document between keyframe shapes, the svg counterpart to shape’s path_morph. An SVG document typically holds several paths, unlike shape’s single implicit path, so target names which one this track drives.
SvgPathMorphKeyframe
One stop in a SvgPathMorph.
TextBackground
TextShadow
TextState
A later label a text swaps to, and when.
TextSwapConfig
How a text crosses from one of its states to the next.
TiltInConfig
Configuration for the tilt_in animation with configurable 3D transform values.
TrailConfig
Trail effect configuration.
WiggleConfig

Enums§

AnimationEffect
A single animation effect. Discriminated by "type" in JSON. Each preset name is a valid type, plus special types: glow, wiggle, keyframes, motion_blur.
CaptionStyle
CaretShape
Shape of a text caret.
CharAnimPreset
Fill
GradientType
ImageFit
LineCap
stroke-linecap — how an open subpath’s two ends are drawn. See Stroke::line_cap.
LineJoin
stroke-linejoin — how two stroked segments meet at a vertex. See Stroke::line_join.
MotionBlurMode
How motion_blur renders its trail. See MotionBlurConfig.
RotateOrigin
Pivot a rotate_from tilt turns around. Only meaningful alongside rotate_from; ignored otherwise.
ShapeType
ShatterMode
Which end of shatter’s timeline is the intact node. See ShatterConfig’s doc comment.
TextAnimDirection
Which way a per-unit entrance travels from before it settles.
TextAnimGranularity
Granularity for text animation: per character or per word.