v-link-active
does not work when v-link
is on a component
#383
Labels
v-link-active
does not work when v-link
is on a component
#383
Repro: http://jsfiddle.net/simplesmiler/g61g06gr/
I found this while playing around with the idea of BEM directive. I needed a way to look up the local DOM tree for the directive that defined a block, and I decided to follow the example of
v-link
/v-link-active
of setting a custom flag on the element. But apparently this does not work whenv-link
is put on the component, because component node is compiled before the rest of the template.Is there any other way for two vertically separated directives to talk?
The text was updated successfully, but these errors were encountered: