Listen v-on dynamically on vuejs
1 answer
UPDATE: In Vue 1.0, if you know what components you need to instantiate (versus compiling random HTML), you can also use an argument parent
for the View Model instance: http://vuejs.org/api/#parent
You will need to manually compile this HTML into the View Model using the $compile
(currently undocumented). See this discussion for more information:
+3
source to share