Vue: Why not add v-on:doubleClick

Created on 6 Dec 2015  路  8Comments  路  Source: vuejs/vue

A double click event?

Most helpful comment

^ Note: .native is only necessary when binding native events on components

// components
<foo v-on:dblclick.native ="doBar"/>
// normal elements
<div v-on:dblclick="doBar"/>

All 8 comments

You can use any native event, e.g. v-on:dblclick.

Thanks.

v-on:dblclick

Still wrong

For reference with Vue 2 it should be : v-on:dblclick.native

^ Note: .native is only necessary when binding native events on components

// components
<foo v-on:dblclick.native ="doBar"/>
// normal elements
<div v-on:dblclick="doBar"/>

nice

i has inpute dbclick,solve my problems----dblclick!!

thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

loki0609 picture loki0609  路  3Comments

hiendv picture hiendv  路  3Comments

seemsindie picture seemsindie  路  3Comments

robertleeplummerjr picture robertleeplummerjr  路  3Comments

paceband picture paceband  路  3Comments