Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144068 | Apr 16,2019 08:46 PM UTC | Sep 18,2019 05:22 AM UTC | Vue | 5 |
![]() |
Tags: Dialog |
Hello Oleg,
Thank you for contacting us.
Yes. It is possible to pass custom data to template component. We have attached an example where we have assigned child component data content into Dialog component content through beforeMount event using Vuex store. Kindly refer to the following link for the sample
In above sample, we have covered the following things,
- Rendered the Dialog component and a Button component in App.vue page. Initially, we have hidden the dialog component by disabling the visible property.
- We have passed the item into the child component(ItemList.vue) by setting data when you click the button and Dialog content is dynamically updated.
- Now, Dialog content rendered with another vue component template data.
Let us know if you need any further assistance on this.
Regards,Prince
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.