mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
code fixed
This commit is contained in:
@ -63,7 +63,7 @@ export function createPage() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
tapLabel.on(gestures.GestureTypes.tap, function (args: gestures.GestureEventData) {
|
tapLabel.on(gestures.GestureTypes.tap, function (args: gestures.GestureEventData) {
|
||||||
tapLabel.text = "Tap gesture detected, " + (args.object === tapLabelB);
|
tapLabel.text = "Tap gesture detected, " + (args.object === tapLabel);
|
||||||
});
|
});
|
||||||
|
|
||||||
var observer1 = tapLabel.getGestureObservers(gestures.GestureTypes.tap)[0];
|
var observer1 = tapLabel.getGestureObservers(gestures.GestureTypes.tap)[0];
|
||||||
|
Reference in New Issue
Block a user