API Reference
@univerjs
@univerjs/ui
classes
Desktopnotificationservice

@univerjs/ui v0.4.2Docs


Class: DesktopNotificationService

Extends

Implements

Constructors

new DesktopNotificationService()

new DesktopNotificationService(_injector, _uiPartsService): DesktopNotificationService

Parameters

ParameterType
_injectorInjector
_uiPartsServiceIUIPartsService

Returns

DesktopNotificationService

Overrides

Disposable.constructor

Defined in

packages/ui/src/services/notification/desktop-notification.service.ts:26 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

_initUIPart()

protected _initUIPart(): void

Returns

void

Defined in

packages/ui/src/services/notification/desktop-notification.service.ts:41 (opens in a new tab)


dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


show()

show(params): IDisposable

Parameters

ParameterType
paramsINotificationOptions

Returns

IDisposable

Implementation of

INotificationService.show

Defined in

packages/ui/src/services/notification/desktop-notification.service.ts:35 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.