Interface useWorkbookCommandsOptions

interface useWorkbookCommandsOptions {
    commandTarget: CommandTarget | (() => CommandTarget);
    darkMode?: boolean;
    notifier?: Notifier;
    onExecute?: (() => void);
    workbookElement: WorkbookElement;
    workbookModel: IWorkbookModel;
}

Properties

commandTarget: CommandTarget | (() => CommandTarget)

Type declaration

darkMode?: boolean
notifier?: Notifier
onExecute?: (() => void)

Type declaration

    • (): void
    • Returns void

workbookElement: WorkbookElement

The workbookElement. Only used for toggling fullscreen.

workbookModel: IWorkbookModel