@univerjsslides-uiclassesUniverslidesuiplugin

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


Class: UniverSlidesUIPlugin

Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.

Extends

Constructors

new UniverSlidesUIPlugin()

new UniverSlidesUIPlugin(
   _config, 
   _injector, 
   _renderManagerService, 
   _univerInstanceService, 
   _configService): UniverSlidesUIPlugin

Parameters

ParameterTypeDefault value
_configPartial<IUniverSlidesUIConfig>defaultPluginConfig
_injectorInjectorundefined
_renderManagerServiceIRenderManagerServiceundefined
_univerInstanceServiceIUniverInstanceServiceundefined
_configServiceIConfigServiceundefined

Returns

UniverSlidesUIPlugin

Overrides

Plugin.constructor

Defined in

submodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:39

Properties

PropertyModifierTypeDefault valueOverridesInherited fromDefined in
_disposedprotectedbooleanfalse-Plugin._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
_injectorreadonlyInjectorundefined-Plugin._injectorsubmodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:41
pluginNamestaticstringSLIDE_UI_PLUGIN_NAMEPlugin.pluginName-submodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:36
typestaticUniverInstanceTypeUniverInstanceType.UNIVER_SLIDEPlugin.type-submodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:37

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Plugin.dispose

Defined in

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


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Plugin.disposeWithMe

Defined in

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


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Plugin.ensureNotDisposed

Defined in

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


getPluginName()

getPluginName(): string

Returns

string

Inherited from

Plugin.getPluginName

Defined in

submodules/univer/packages/core/src/services/plugin/plugin.ts:59


getUniverInstanceType()

getUniverInstanceType(): UniverInstanceType

Returns

UniverInstanceType

Inherited from

Plugin.getUniverInstanceType

Defined in

submodules/univer/packages/core/src/services/plugin/plugin.ts:55


onReady()

onReady(): void

Returns

void

Overrides

Plugin.onReady

Defined in

submodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:67


onRendered()

onRendered(): void

Returns

void

Overrides

Plugin.onRendered

Defined in

submodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:96


onStarting()

onStarting(): void

Returns

void

Overrides

Plugin.onStarting

Defined in

submodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:56


onSteady()

onSteady(): void

Returns

void

Overrides

Plugin.onSteady

Defined in

submodules/univer/packages/slides-ui/src/slides-ui-plugin.ts:112