`v-el` on child vm's non-root element
See original GitHub issue<ul id="app">
<li v-repeat="items" v-el="item">
<span>{{text}}</span> <button v-el="itemBtn">x</button>
</li>
</ul>
vm.$$.item
works well and returns a node list,
but vm.$$.itemBtn
returns undefined, should it returns a node list?
Demo here: http://jsfiddle.net/Alexorz/efwLrcd3/
v0.11.0-rc3
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Can Jaxb marshal child elements without the root element?
I'm currently not able to do so as the marshaller yells that I do not have a @XmlRootElement defined. We're actually trying to...
Read more >[Solved]-v-model and child components?-Vue.js - appsloveworld
To implement the v-model directive for a custom component: ... the $attrs instance property and can be explicitly bound to a non-root element...
Read more >Untitled
Guam japanese restaurant, Nicolas janavel, Calling out your name lyrics foals, ... Sony music apk no root, Spooling definition biology, Bo jio pic,...
Read more >Lecture III BALANCED SEARCH TREES - NYU Computer Science
Russians Adel'son-Vel'skii and Landis in 1962, and are called AVL trees. ... Assume u is a non-root node in a binary search tree...
Read more >How to Deploy Laravel Project with Apache on Ubuntu
Install Composer On Ubuntu. There are a few steps that we can follow to deploy Laravel on Apache. The first one is to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
this.$$.item
is an array of DOM element, man… but achieved that throughv-ref
.Code:
Is it possible to make
this.$$.itemBtn
as a shortcut ofthis.$.itemVM.map(function (item) { return item.$$.itemBtn });
?This is because every item in
v-repeat
is a vm, so theitemBtn
is registered on the child vm instead.You can do