Thu, 19 Mar 2015 05:38:47 GMT
My goal is want to load dynamic content to tab content
base on user selection.
I not want to pre-load and hide it using if condition
In Riot 2.0.11, I can do this
this.innerHTML = '<tab-content></tab-content>'
<div><raw></raw></div> <!-- tab-content render successfully -->
But in Riot 2.0.13, I can't do this
What's the solution to do this?
Example for this site
http://richardbondi.net/riot/ (Dynamic Input example)
This is exactly that I want but in 2.0.13, it doesn't work any more.
Thu, 19 Mar 2015 15:43:04 GMT
I think you can use `if` or `show` and `hide` to display a tag
Wed, 11 Jan 2017 19:19:24 GMT
You can use "data-is" to accomplish dynamic component loading. Documentation reference is here:
I know this is an old topic but I couldn't easily find this via a google search so posting here for posterity.