Vue: [Feature] have v-el be a list combined with v-for

Created on 4 Nov 2015  路  8Comments  路  Source: vuejs/vue

When using v-ref combined with v-for, it will give you an array of _refs_. It would be nice to have this feature for v-el too.

feature request

All 8 comments

It was the case before with Vue.js 0.12.
I can't finish my migration because some part of my app is depending on this behavior.

+1

+1

is this slated for release 1.1.0 (a "will-implement"?)

btw +1

yeah it's in the milestone.

+1

Why not use v-el in component?
In my opinion, any item in v-for should be separated as a component.

FYI this is already shipped in 2.0 with the new $refs. Don't know if Evan wants to back port it to 1.x though.

Was this page helpful?
0 / 5 - 0 ratings