触摸支持

v-touch`指令允许您捕获轻扫手势手势并应用定向回调。

用例

On a mobile device, try swiping in various directions.

API

v-touch
名称
value
默认值
{}
类型
Object

Directives.TouchSupport.

Edit this page | language on Github
Vuetify 3 is now available!The latest version of Vuetify is now available!
Learn about Vuetify 3's new features and functionality for modern Vue applications
Start exploringExplore