eo-typewriterjs / TBaseCommand
Type Alias: TBaseCommand
ts
type TBaseCommand = object;Defined in: core/commands/types/base-command.type.ts:12
Description
Shared fields present on every command in the timeline
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
id | readonly | string | - | core/commands/types/base-command.type.ts:13 |
kind | readonly | TCommandKind | - | core/commands/types/base-command.type.ts:14 |
before? | readonly | TCallbackHook | Description Optional hook invoked before each step of the command, or once for instant commands (move, select, style, wait, call) | core/commands/types/base-command.type.ts:21 |
after? | readonly | TCallbackHook | Description Optional hook invoked after each step of the command, or once for instant commands (move, select, style, wait, call) | core/commands/types/base-command.type.ts:28 |
audio? | readonly | TAudioCommandOverride | Description Per-command audio override. Set to false to silence sounds for this command. Set to an object to use a specific sfx, sfxs subset, or volume. When omitted, the typewriter-level audio defaults apply. | core/commands/types/base-command.type.ts:37 |