detect touched so touch devices can also be selected

This commit is contained in:
Sergio Crisostomo 2018-05-29 15:06:50 +02:00
parent 5c846d28a6
commit d20b4e1a73

View file

@ -2,6 +2,7 @@
<li
:class="classes"
@click.stop="select"
@touchend.stop="select"
@mousedown.prevent
@touchstart.prevent
><slot>{{ showLabel }}</slot></li>