Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Update componentProps Parameters

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>