TypedCommand
INFO
Inherits: Command
A command that takes a specific type.
Generics
T
Constructor details
ts
new TypedCommand<T>({
event,
startTime,
endTime,
startValue,
endValue,
easing,
})- Parameters:
event(string): Name of the command.startTime(string | number | Timestamp) (Timestamp): Start time of the command.endTime(string | number | Timestamp | undefined) (Timestamp): End time of the command. Defaults toundefined.startValue(T) (T): Start value of the command.endValue(T | undefined): End value of the command. Defaults toundefined.easing(Easing | undefined) (Easing): The easing function for this command. Defaults toundefined.
Properties
Properties inherited from Command:
endTime
The end time of this command.
- Type:
Timestamp(Timestamp)
startValue
The start value of this command.
- Type:
T(T)
endValue
The end value of this command.
- Type:
T(T)
easing
The easing function for this command.
- Type:
Easing(Easing)