【发布时间】:2019-08-09 15:28:50
【问题描述】:
<GridLayout columns="auto, *" rows="*" @tap="openDrawer">
<Label text="Edit" @tap.native="goToEdit" col="1"></Label>
</GridLayout>
一般在 vue.js 中我们使用 .native 后缀来调用原生子组件事件。我在 native-script-vue 中遇到“.native”问题。如果我使用没有“.native”后缀的事件,则父事件和子事件都会触发。我只想触发子元素。
【问题讨论】:
-
它是 Android 特有的吗?
-
其实我只在android上测试过
标签: nativescript nativescript-telerik-ui nativescript-vue nativescript-plugin