v-ons-col @click broken in Vue bindings 2.0.2?
Seem to work OK in 2.0.0, now only works when removing v- from v-ons-col.
@denious Hi! I think it shouldn’t have worked before 2.0.2 either. The
@clickhandler is using Vue component events, not DOM native events.
v-ons-colis not a clickable component so it should not implement a “click” component event. You can, however, listen to DOM events with
@click.native="..."and this will always work (v-on “native” modifier).
The reason why it works with
v-ons-col) is that it is an actual DOM element so
@clickdirectly uses the DOM event.
Very cool knowledge, Fran, thanks for the insight!