@univerjsuiindexclassesDesktopuicontroller

@univerjs/ui v0.5.0-beta.1Docs


Class: DesktopUIController

Extends

Constructors

new DesktopUIController()

new DesktopUIController(
   _config, 
   _renderManagerService, 
   _instanceSrv, 
   _injector, 
   _lifecycleService, 
   _uiPartsService, 
   _menuManagerService, 
   _layoutService?): DesktopUIController

Parameters

ParameterType
_configIUniverUIConfig
_renderManagerServiceIRenderManagerService
_instanceSrvIUniverInstanceService
_injectorInjector
_lifecycleServiceLifecycleService
_uiPartsServiceIUIPartsService
_menuManagerServiceIMenuManagerService
_layoutService?ILayoutService

Returns

DesktopUIController

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/ui/src/controllers/ui/ui-desktop.controller.tsx:41

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100