API Reference
@univerjs
@univerjs/docs-ui
classes
Docuicontroller

@univerjs/docs-ui v0.4.2Docs


Class: DocUIController

Extends

Constructors

new DocUIController()

new DocUIController(
   _injector, 
   _componentManager, 
   _commandService, 
   _layoutService, 
   _menuManagerService, 
   _uiPartsService, 
   _univerInstanceService, 
   _shortcutService, 
   _configService): DocUIController

Parameters

ParameterType
_injectorInjector
_componentManagerComponentManager
_commandServiceICommandService
_layoutServiceILayoutService
_menuManagerServiceIMenuManagerService
_uiPartsServiceIUIPartsService
_univerInstanceServiceIUniverInstanceService
_shortcutServiceIShortcutService
_configServiceIConfigService

Returns

DocUIController

Overrides

Disposable.constructor

Defined in

packages/docs-ui/src/controllers/doc-ui.controller.ts:64 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_commandServicereadonlyICommandServiceundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:67 (opens in a new tab)
_componentManagerreadonlyComponentManagerundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:66 (opens in a new tab)
_configServicereadonlyIConfigServiceundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:73 (opens in a new tab)
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
_injectorreadonlyInjectorundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:65 (opens in a new tab)
_layoutServicereadonlyILayoutServiceundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:68 (opens in a new tab)
_menuManagerServicereadonlyIMenuManagerServiceundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:69 (opens in a new tab)
_shortcutServicereadonlyIShortcutServiceundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:72 (opens in a new tab)
_uiPartsServicereadonlyIUIPartsServiceundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:70 (opens in a new tab)
_univerInstanceServicereadonlyIUniverInstanceServiceundefined-packages/docs-ui/src/controllers/doc-ui.controller.ts:71 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.