Interface: Animation
Table of contents
Properties
Properties
name
• name: string
Defined in
packages/video-editor/src/helpers/types.ts:2
interval
• Optional interval: number
Defined in
packages/video-editor/src/helpers/types.ts:3
duration
• Optional duration: number
Defined in
packages/video-editor/src/helpers/types.ts:4
intensity
• Optional intensity: number
Defined in
packages/video-editor/src/helpers/types.ts:5
animate
• Optional animate: "enter" | "exit" | "both"
Defined in
packages/video-editor/src/helpers/types.ts:6
mode
• Optional mode: "in" | "out"
Defined in
packages/video-editor/src/helpers/types.ts:7
direction
• Optional direction: "up" | "down" | "left" | "right" | "center"
Defined in
packages/video-editor/src/helpers/types.ts:8
options
• options: Object
Type declaration
| Name | Type |
|---|---|
animate? | ("enter" | "exit" | "both")[] |
mode? | ("in" | "out")[] |
direction? | ("up" | "down" | "left" | "right" | "center")[] |
intensity? | [number, number] |
interval? | [number, number] |
duration? | [number, number] |
Defined in
packages/video-editor/src/helpers/types.ts:9
getSample
• getSample: (animation?: Animation) => string
Type declaration
▸ (animation?): string
Parameters
| Name | Type |
|---|---|
animation? | Animation |
Returns
string