@univerjs-pro/exchange-client v0.5.4


Class: UploadNotificationService

Defined in: packages/exchange-client/src/services/upload-notification.service.ts:51

Extends

Implements

Constructors

new UploadNotificationService()

new UploadNotificationService(): UploadNotificationService

Defined in: packages/exchange-client/src/services/upload-notification.service.ts:62

Returns

UploadNotificationService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
list$readonlyObservable<ILinkList[]>undefined-packages/exchange-client/src/services/upload-notification.service.ts:58
state$readonlyObservable<UploadNotificationState>undefined-packages/exchange-client/src/services/upload-notification.service.ts:57
visible$readonlyObservable<boolean>undefined-packages/exchange-client/src/services/upload-notification.service.ts:56

Methods

dispose()

dispose(): void

Defined in: packages/exchange-client/src/services/upload-notification.service.ts:66

Returns

void

Implementation of

IDisposable.dispose

Overrides

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


hide()

hide(): void

Defined in: packages/exchange-client/src/services/upload-notification.service.ts:77

Hide upload notification

Returns

void

Implementation of

IUploadNotificationService.hide


pushLink(link): void

Defined in: packages/exchange-client/src/services/upload-notification.service.ts:85

Push link to upload notification

Parameters

ParameterType
linkILinkList

Returns

void

Implementation of

IUploadNotificationService.pushLink


show()

show(): void

Defined in: packages/exchange-client/src/services/upload-notification.service.ts:73

Show upload notification

Returns

void

Implementation of

IUploadNotificationService.show


updateState()

updateState(state): void

Defined in: packages/exchange-client/src/services/upload-notification.service.ts:81

Update upload notification state

Parameters

ParameterType
stateUploadNotificationState

Returns

void

Implementation of

IUploadNotificationService.updateState