@univerjs-pro/exchange-client v0.5.0-beta.1Docs


Class: UploadNotificationService

Extends

Implements

Constructors

new UploadNotificationService()

new UploadNotificationService(): UploadNotificationService

Returns

UploadNotificationService

Overrides

Disposable.constructor

Defined in

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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
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

Returns

void

Implementation of

IDisposable.dispose

Overrides

Disposable.dispose

Defined in

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


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


hide()

hide(): void

Hide upload notification

Returns

void

Implementation of

IUploadNotificationService.hide

Defined in

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


pushLink(link): void

Push link to upload notification

Parameters

ParameterType
linkILinkList

Returns

void

Implementation of

IUploadNotificationService.pushLink

Defined in

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


show()

show(): void

Show upload notification

Returns

void

Implementation of

IUploadNotificationService.show

Defined in

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


updateState()

updateState(state): void

Update upload notification state

Parameters

ParameterType
stateUploadNotificationState

Returns

void

Implementation of

IUploadNotificationService.updateState

Defined in

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