Skip to content

eo-typewriterjs


eo-typewriterjs / TCallbackContext

Type Alias: TCallbackContext

ts
type TCallbackContext = object;

Defined in: core/commands/types/callback-hook.type.ts:11

Description

Context object passed to every before/after callback invocation

Properties

PropertyModifierTypeDescriptionDefined in
statereadonlyTTypewriterStateDescription The current typewriter document state at the time of invocationcore/commands/types/callback-hook.type.ts:16
stepIndexreadonlynumberDescription The logical step index within the command (0-based)core/commands/types/callback-hook.type.ts:22
stepCountreadonlynumberDescription Total number of steps for this commandcore/commands/types/callback-hook.type.ts:28
unitreadonlyTAdvanceUnit | nullDescription The advance unit for the current step, or null for instant commandscore/commands/types/callback-hook.type.ts:34
signalreadonlyAbortSignalDescription AbortSignal that is aborted when playback is cancelledcore/commands/types/callback-hook.type.ts:40

Released under the MIT License.