@univerjs/slides-ui v0.4.2 • Docs
Class: SlidesUIController
This controller registers UI parts of slide workbench to the base-ui workbench.
Extends
Constructors
new SlidesUIController()
new SlidesUIController(
_injector,
_menuManagerService,
_componentManager,
_uiPartsService,
_commandService,
_shortcutService): SlidesUIController
Parameters
Parameter | Type |
---|---|
_injector | Injector |
_menuManagerService | IMenuManagerService |
_componentManager | ComponentManager |
_uiPartsService | IUIPartsService |
_commandService | ICommandService |
_shortcutService | IShortcutService |
Returns
Overrides
Defined in
packages/slides-ui/src/controllers/slide-ui.controller.ts:44 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_commandService | readonly | ICommandService | undefined | - | packages/slides-ui/src/controllers/slide-ui.controller.ts:49 (opens in a new tab) |
_componentManager | readonly | ComponentManager | undefined | - | packages/slides-ui/src/controllers/slide-ui.controller.ts:47 (opens in a new tab) |
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
_injector | readonly | Injector | undefined | - | packages/slides-ui/src/controllers/slide-ui.controller.ts:45 (opens in a new tab) |
_menuManagerService | readonly | IMenuManagerService | undefined | - | packages/slides-ui/src/controllers/slide-ui.controller.ts:46 (opens in a new tab) |
_shortcutService | readonly | IShortcutService | undefined | - | packages/slides-ui/src/controllers/slide-ui.controller.ts:50 (opens in a new tab) |
_uiPartsService | readonly | IUIPartsService | undefined | - | packages/slides-ui/src/controllers/slide-ui.controller.ts:48 (opens in a new tab) |
Methods
_initUIComponents()
protected _initUIComponents(): void
Returns
void
Defined in
packages/slides-ui/src/controllers/slide-ui.controller.ts:94 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (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
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)