[]
Open command.
new OpenCommand(
viewer,
file,
params): OpenCommand;
OpenCommand constructor.
string | URL | Uint8Array<ArrayBufferLike> | number[]
OpenCommand
name: "Open";
Optional. The unique name of the command. Used by the undo.skipCommands option setting.
execute(viewer): Promise<void>;
Action implementation.
Promise<void>
undo(viewer): Promise<void>;
Undo action implementation.
Promise<void>