In VueJS!!wait-for An event name to wait for on the incoming child component before switching it with the current component. This allows you to wait for asynchronous data to be loaded before triggering the transition to avoid unwanted flash of emptiness in between.
Example: 1 <div v-component="{{view}}" wait-for="data-loaded"></div> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // component definition { // fetch data and fire the event asynchronously in the // compiled hook. Using jQuery just for example. compiled: function () { var self = this $.ajax({ // ... success: function (data) { self.$data = data self.$emit('data-loaded') } }) } } 2015-06-12 5:30 GMT+01:00 Massimo Di Pierro <massimo.dipie...@gmail.com>: > Not sure. It was just an impression. I noticed ractive.js depends on > jQuery. vue.js does not. the template language is the same in both > (mustache). ractive.js requires a <script type="ractive"/> while vue.js > acts in place (which is clever). Ractive has more example which makes me > think it may have more functionality but I may be mistaken. One thing I do > not see in vue.js are promises. > > > On Thursday, 11 June 2015 03:31:25 UTC-5, Ramos wrote: >> >> Massimo >> why do you call Vuejs a stripped version? what does it lack compared to >> Ractive? >> >> Thank you >> António >> >> 2015-06-10 4:05 GMT+01:00 Massimo Di Pierro <massimo.dipie...@gmail.com>: >> >>> vue.js look like a stripped version of ractive.js. The syntax is >>> identical for what it provides. >>> >>> >>> On Tuesday, 9 June 2015 16:36:49 UTC-5, Ramos wrote: >>>> >>>> No, of course not. >>>> >>>> On the contrary, i know hate angularjs after reading about vuejs. >>>> >>>> I wish i knew it before.... >>>> >>>> 2015-06-09 19:58 GMT+01:00 Dave S <snidely....@gmail.com>: >>>> >>>>> >>>>> >>>>> On Tuesday, June 9, 2015 at 3:21:55 AM UTC-7, Ramos wrote: >>>>>> >>>>>> another one bites the dust. >>>>>> >>>>>> >>>>> "bites the dust" is used for something that (or someone who) has been >>>>> shot down; a final face-plant. >>>>> >>>>> Are you saying the link below is a dead tool? >>>>> >>>>> >>>>> >>>>> >>>>>> http://vuejs.org/guide/index.html >>>>>> >>>>>> the docs are very extensive >>>>>> >>>>>> >>>>> /dps >>>>> >>>>> >>>>> >>>>>> 2015-06-08 17:38 GMT+01:00 Derek <sp1...@gmail.com>: >>>>>> >>>>>>> I just hate non-compliant html. I've always been drawn to html >>>>>>> compliant templates, like TAL (Template Attribute Language). >>>>>>> >>>>>>> In any case, I see that it generates html, and it is a lot smaller >>>>>>> than the alternatives. I'd be willing to give this a shot. >>>>>>> >>>>>>> >>>>>>> On Monday, June 8, 2015 at 3:02:30 AM UTC-7, Ramos wrote: >>>>>>>> >>>>>>>> just to share some noise on the UI for those looking at angular >>>>>>>> reactjs polymer ractive and so on >>>>>>>> >>>>>>>> https://muut.com/riotjs/ >>>>>>>> >>>>>>>> any experience or comments ? >>>>>>>> >>>>>>>> Regards >>>>>>>> >>>>>>> -- >>>>>>> Resources: >>>>>>> - http://web2py.com >>>>>>> - http://web2py.com/book (Documentation) >>>>>>> - http://github.com/web2py/web2py (Source code) >>>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "web2py-users" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to web2py+un...@googlegroups.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- >>>>> Resources: >>>>> - http://web2py.com >>>>> - http://web2py.com/book (Documentation) >>>>> - http://github.com/web2py/web2py (Source code) >>>>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "web2py-users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to web2py+unsubscr...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to web2py+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.