@univerjs-pro/exchange-client v0.5.0-beta.1 • Docs
Class: UploadNotificationService
Extends
Implements
Constructors
new UploadNotificationService()
new UploadNotificationService(): UploadNotificationService
Returns
Overrides
Defined in
packages/exchange-client/src/services/upload-notification.service.ts:62
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
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
Returns
void
Implementation of
Overrides
Defined in
packages/exchange-client/src/services/upload-notification.service.ts:66
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
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()
pushLink(link): void
Push link to upload notification
Parameters
Parameter | Type |
---|---|
link | ILinkList |
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
Parameter | Type |
---|---|
state | UploadNotificationState |
Returns
void
Implementation of
IUploadNotificationService
.updateState
Defined in
packages/exchange-client/src/services/upload-notification.service.ts:81