1

In my Java project we have used riot.js using external tag file.On clicking on html object we are mounting data to the screen like example below

riot.mount('.detail','health',dataObject);

But the issue is Some times riot.mount working and dynamic data rendering successful but some time its not working(not rendering dynamic data)

Please can anyone suggest me so mount my data every time.i have also try riot.compiler and set interval but still not working.

Nilesh Madhak
  • 13
  • 1
  • 1
  • 7
  • Please read how to create a [minimal, complete, verifiable example](https://stackoverflow.com/help/mcve) and add the missing information to your Post by editing it :) If you haven't read [how to ask](https://stackoverflow.com/help/how-to-ask) yet i recommend to do so :) I highly recommend to follow the 2 guides i linked as the people on SO are more likely to answer questions when the posts follow these guides. What i'm missing in particular is - What have u tried so far? What errors/problems do you face? Do you may have codesnippets that help understand your question? Welcome to StackOverflow – Tobias Theel Dec 29 '17 at 17:17
  • Can anyone suggest me – Nilesh Madhak Dec 30 '17 at 16:43
  • Looks like this behaviour is resulting from how the external `riot.js` library was loaded. Can you share markup snippet for how this was loaded in Javascript? Also, share some snippet for how you're binding the event handler for the click event on the HTML object/ – Oluwafemi Sule Mar 08 '18 at 09:26

0 Answers0