mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Replace knownEvents modules with static strings.
This commit is contained in:
@@ -33,7 +33,7 @@ export class Button extends common.Button {
|
||||
|
||||
onClick: function (v) {
|
||||
if (this.owner) {
|
||||
this.owner._emit(common.knownEvents.tap);
|
||||
this.owner._emit(common.Button.tapEvent);
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user