@univerjs/find-replace v0.4.2 • Docs
Class: FindReplaceController
Extends
Constructors
new FindReplaceController()
new FindReplaceController(
_univerInstanceService,
_menuManagerService,
_shortcutService,
_commandService,
_findReplaceService,
_dialogService,
_layoutService,
_localeService,
_componentManager,
_injector): FindReplaceController
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_menuManagerService | IMenuManagerService |
_shortcutService | IShortcutService |
_commandService | ICommandService |
_findReplaceService | IFindReplaceService |
_dialogService | IDialogService |
_layoutService | ILayoutService |
_localeService | LocaleService |
_componentManager | ComponentManager |
_injector | Injector |
Returns
Overrides
Defined in
packages/find-replace/src/controllers/find-replace.controller.ts:63 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | packages/core/src/shared/lifecycle.ts:117 (opens in a new tab) |
Methods
closePanel()
closePanel(): void
Returns
void
Defined in
packages/find-replace/src/controllers/find-replace.controller.ts:147 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/find-replace/src/controllers/find-replace.controller.ts:82 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)