ecosystem/application-properties/subscription-modal/subscription-modal.component.ts
OnInit
selector | c8y-subscription-modal |
templateUrl | ./subscription-modal.component.html |
Properties |
Methods |
|
constructor(bsModalRef: BsModalRef, ecosystemService: EcosystemService, tabsService: TabsService, modal: ModalService, applicationService: ApplicationService, alertService: AlertService, contextRouteService: ContextRouteService)
|
||||||||||||||||||||||||
Parameters :
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
Async subscribe |
subscribe()
|
Returns :
Promise<void>
|
Async unsubscribe |
unsubscribe()
|
Returns :
Promise<void>
|
application |
Type : IApplication
|
isLoading |
Default value : false
|
isSubscribed |
Type : boolean
|
message |
Type : string
|
result |
Type : Promise<void>
|
Default value : new Promise(resolve => {
this._resolve = resolve;
})
|
Readonly RETRY_TIMEOUT |
Type : number
|
Default value : 3000
|
retryCounter |
Type : number
|
Default value : 0
|
<div class="viewport-modal">
<div class="modal-header dialog-header">
<i c8yIcon="c8y-atom"></i>
<h4 id="modal-title">{{ message | translate }}</h4>
</div>
<div class="modal-body" id="modal-body" *ngIf="isLoading">
<div class="p-16 text-center">
<c8y-loading></c8y-loading>
</div>
</div>
</div>