TX Sheet Control

WorkbookCommand Interface

Interface

Compatibility worker command for active-sheet operations; new document code uses worksheet-bound handles.

Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
argsThe args value of WorkbookCommand.
methodThe method value of WorkbookCommand.

Examples

Pass the WorkbookCommand value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { WorkbookCommand } from '@txtextcontrol/tx-sheet-control-server';

function inspectWorkbookCommandMethod(workbookCommand: WorkbookCommand) {
    const value = workbookCommand['method'];
    console.log('WorkbookCommand.method', value);
}

See Also