I am using ajax request for data, then i want to render it on the same page where i had executed ajax request.
I am able to do it via keeping template on index then post template processing append it to some id or class but i want it to iterate on the same HTML template.
@sjkushwaha21, in all honesty, there is a full page in docs on what you are trying to achieve… Read through the router component. If you have used vue.js before, especially the .vue single file components, it is way so very similar. The this.$setState() method is very similar to the way vue updates components.
This page here is probably one of those pages you do’t really wanna miss out in the whole documentation as it really will ease your life with f7. Thanks
I am passing the variable “catalogEntryView” for iteration in template but in between of each loop I need to access imgsrc node which I am not able to.
Thank you for your response, but the suggestion you gave is working absolutely fine when I am rendering dynamic HTML template and append it to any ID or Class which I had already achieved.
But when I am rendering data on HTML page itself in that scenario it is not working because I am using $setState only to pass catalogEntryView node of JSON response not the parent one.