How to use them? Docs are not clear about vuejs, only pure js. I tried to add
var gestures = require("tns-core-modules/ui/gestures");
var labelModule = require("tns-core-modules/ui/label");
var label = new labelModule.Label();
label.on(gestures.GestureTypes.tap, function (args) {
console.log("Tap");
});
But that doesn't seem to work - not logs in the console. Thanks
Gestures in nativescript-vue
There is nothing to import to use gestures.
or
Unfortunately, nativescript docs are currently outdated for nativescript 7.