@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Interface: ISheetAutoFillHook
Properties
Property | Type | Defined in |
---|---|---|
bindUnit? | string | submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:36 |
disable? | (location : IAutoFillLocation , direction : Direction , applyType : APPLY_TYPE ) => boolean | submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:37 |
id | string | submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:33 |
priority? | number | submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:34 |
type? | AutoFillHookType | submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:35 |
Methods
onAfterFillData()?
optional onAfterFillData(
location,
direction,
applyType): boolean | void
Parameters
Parameter | Type |
---|---|
location | IAutoFillLocation |
direction | Direction |
applyType | APPLY_TYPE |
Returns
boolean
| void
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:47
onBeforeFillData()?
optional onBeforeFillData(location, direction): void | APPLY_TYPE
Parameters
Parameter | Type |
---|---|
location | IAutoFillLocation |
direction | Direction |
Returns
void
| APPLY_TYPE
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:38
onFillData()?
optional onFillData(
location,
direction,
applyType): {
redos: IMutationInfo<object>[];
undos: IMutationInfo<object>[];
}
Parameters
Parameter | Type |
---|---|
location | IAutoFillLocation |
direction | Direction |
applyType | APPLY_TYPE |
Returns
{
redos: IMutationInfo<object>[];
undos: IMutationInfo<object>[];
}
Name | Type | Defined in |
---|---|---|
redos | IMutationInfo <object >[] | submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:45 |
undos | IMutationInfo <object >[] | submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:44 |
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/type.ts:39