To trigger the function from parent to child in Vue.JS

Automated-payment.Vue

<ListOptionsFilter />

 <ImportedBankData  ref=“ImportedBankData” />

when using the below function it will trigger the function of fetchStatus of the ImportedBankData component.

 this.$refs.ImportedBankData.fetchStatus(accountResponse);

Leave a comment

Your email address will not be published. Required fields are marked *