@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Interface: IAutoFillService
Properties
Property | Type | Defined in |
---|---|---|
applyType | APPLY_TYPE | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:56 |
applyType$ | Observable <APPLY_TYPE > | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:55 |
autoFillLocation | Nullable <IAutoFillLocation > | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:72 |
autoFillLocation$ | Observable <Nullable <IAutoFillLocation >> | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:71 |
direction | Direction | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:58 |
menu | IApplyMenuItem [] | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:61 |
menu$ | Observable <IApplyMenuItem []> | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:60 |
setDisableApplyType | (type : APPLY_TYPE , disable : boolean ) => void | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:66 |
setShowMenu | (show : boolean ) => void | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:64 |
showMenu$ | Observable <boolean > | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:63 |
Methods
addHook()
addHook(hook): IDisposable
Parameters
Parameter | Type |
---|---|
hook | ISheetAutoFillHook |
Returns
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:79
fillData()
fillData(triggerUnitId, triggerSubUnitId): boolean
Parameters
Parameter | Type |
---|---|
triggerUnitId | string |
triggerSubUnitId | string |
Returns
boolean
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:80
getActiveHooks()
getActiveHooks(): ISheetAutoFillHook[]
Returns
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:78
getAllHooks()
getAllHooks(): ISheetAutoFillHook[]
Returns
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:77
getRules()
getRules(): IAutoFillRule[]
Returns
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:68
initPrevUndo()
initPrevUndo(): void
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:82
isFillingStyle()
isFillingStyle(): boolean
Returns
boolean
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:69
registerRule()
registerRule(rule): void
Parameters
Parameter | Type |
---|---|
rule | IAutoFillRule |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:75
setFillingStyle()
setFillingStyle(isFillingStyle): void
Parameters
Parameter | Type |
---|---|
isFillingStyle | boolean |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:74