@univerjs/sheets-data-validation v0.4.2 • Docs
Function: getDataValidationDiffMutations()
function getDataValidationDiffMutations(
unitId,
subUnitId,
diffs,
accessor,
source,
fillDefaultValue): {
redoMutations: IMutationInfo<object>[];
undoMutations: IMutationInfo<object>[];
}
Parameters
Parameter | Type | Default value |
---|---|---|
unitId | string | undefined |
subUnitId | string | undefined |
diffs | RangeMutation [] | undefined |
accessor | IAccessor | undefined |
source | DataValidationChangeSource | 'command' |
fillDefaultValue | boolean | true |
Returns
{
redoMutations: IMutationInfo<object>[];
undoMutations: IMutationInfo<object>[];
}
Name | Type | Defined in |
---|---|---|
redoMutations | IMutationInfo <object >[] | sheets-data-validation/src/commands/commands/data-validation.command.ts:66 (opens in a new tab) |
undoMutations | IMutationInfo <object >[] | sheets-data-validation/src/commands/commands/data-validation.command.ts:67 (opens in a new tab) |
Defined in
sheets-data-validation/src/commands/commands/data-validation.command.ts:50 (opens in a new tab)