@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
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
list$ | readonly | Observable <ILinkList []> | undefined | - | packages/exchange-client/src/services/upload-notification.service.ts:58 |
state$ | readonly | Observable <UploadNotificationState > | undefined | - | packages/exchange-client/src/services/upload-notification.service.ts:57 |
visible$ | readonly | Observable <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
Overrides
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
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()
pushLink(link): void
Defined in: packages/exchange-client/src/services/upload-notification.service.ts:85
Push link to upload notification
Parameters
Parameter | Type |
---|---|
link | ILinkList |
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
Parameter | Type |
---|---|
state | UploadNotificationState |
Returns
void