Evan You

Results 333 comments of Evan You

Unfortunately the relaxed arguments type seems necessary for the type tests to pass.

If the items being transitioned has fixed size, you can add a container div with `position:relative` to wrap the two items with `position:absolute`.

It should be noted that when you nest components like this, these `` components are considered as "inserted content", and they are in fact compiled as siblings of `` and...

Okay, so as of now transcluded components (components inserted as content) are available to the host component in an array as `this._transCpnts`. Theoretically you can achieve most of the things...

Great! Yes please keep me updated :)

I am thinking maybe we should add an option so that components can basically opt-in to "compile the content in its own scope". (kinda like Angular's `transclude` directive option?) But...

Thanks! The implementation helps me a lot in understanding what the needs of such components are. The current implementation looks find to me, the only thing I want to mention...

You need to give it an element or call $mount: http://vuejs.org/api/ > If you provided the el option at instantiation, the Vue instance will immediately enter the compilation phase. Otherwise,...

The `replace` option only indicates whether the component should replace it's container node in the parent template. Any HTML inside the container node is considered parent content. If you don't...

@michielvandergeest I've pushed some changes to how transcluded components work in the latest `dev` branch: https://github.com/yyx990803/vue/compare/850a7e7...dev `vm._transCpnts` and `vm._host` are gone - now transcluded components are actually children of the...