@univerjsuiindexclassesDesktopnotificationservice

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


Class: DesktopNotificationService

Extends

Implements

Constructors

new DesktopNotificationService()

new DesktopNotificationService(_injector, _uiPartsService): DesktopNotificationService

Parameters

ParameterType
_injectorInjector
_uiPartsServiceIUIPartsService

Returns

DesktopNotificationService

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/ui/src/services/notification/desktop-notification.service.ts:26

Properties

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

Methods

_initUIPart()

protected _initUIPart(): void

Returns

void

Defined in

submodules/univer/packages/ui/src/services/notification/desktop-notification.service.ts:41


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


show()

show(params): IDisposable

Parameters

ParameterType
paramsINotificationOptions

Returns

IDisposable

Implementation of

INotificationService.show

Defined in

submodules/univer/packages/ui/src/services/notification/desktop-notification.service.ts:35