View as Markdown

API reference: @salmonui/pivot-table

PivotCommandOptionsinterface

import type { PivotCommandOptions } from '@salmonui/pivot-table';
interface PivotCommandOptions {
    readonly source?: PivotEventSource | undefined;
    readonly draft?: boolean | undefined;
}

Options of a model command.

PivotCommandOptions members (2)
NameSignatureDescription
sourceoptionalreadonly source?: PivotEventSource | undefined;

Input that caused the command. Default 'api'.

draftoptionalreadonly draft?: boolean | undefined;

Edit the draft model (a field list with deferUpdate) instead of the applied one.