@MhmdKorhani wrote:
I have already passed some parameters within componentProps, but is cannot update these parameters dynamicaly is there any way to do that?
const loading = await this.modalCtrl.create({ component: LoadingModalComponent, animated: false, showBackdrop: true, backdropDismiss: false, componentProps: { Upload: Upload, Message: Message } }); await loading.present();
I am trying to change the upload parameter when i get data from the server by using the following method:
loading.componentProps.Update = true;
But it is not woking.
Any Suggestions??
Thank youu
Posts: 2
Participants: 2