@univerjsuiindexclassesDesktopnotificationservice

@univerjs/ui v0.5.4


Class: DesktopNotificationService

Defined in: submodules/univer/packages/ui/src/services/notification/desktop-notification.service.ts:25

Extends

Implements

Constructors

new DesktopNotificationService()

new DesktopNotificationService(_injector, _uiPartsService): DesktopNotificationService

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

Parameters

ParameterType
_injectorInjector
_uiPartsServiceIUIPartsService

Returns

DesktopNotificationService

Overrides

Disposable.constructor

Properties

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

Methods

_initUIPart()

protected _initUIPart(): void

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

Returns

void


dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


show()

show(params): IDisposable

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

Parameters

ParameterType
paramsINotificationOptions

Returns

IDisposable

Implementation of

INotificationService.show