mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
fix(core): stop accepting GestureTypes enum as an eventName (#10537)
This commit is contained in:
@ -2749,8 +2749,8 @@ export abstract class View extends ViewBase {
|
||||
modal: View;
|
||||
// (undocumented)
|
||||
_modalParent?: View;
|
||||
off(eventNames: string | GestureTypes, callback?: (args: EventData) => void, thisArg?: any);
|
||||
on(eventNames: string | GestureTypes, callback: (args: EventData) => void, thisArg?: any);
|
||||
off(eventNames: string, callback?: (args: EventData) => void, thisArg?: any);
|
||||
on(eventNames: string, callback: (args: EventData) => void, thisArg?: any);
|
||||
on(event: "loaded", callback: (args: EventData) => void, thisArg?: any);
|
||||
on(event: "unloaded", callback: (args: EventData) => void, thisArg?: any);
|
||||
on(event: "androidBackPressed", callback: (args: EventData) => void, thisArg?: any);
|
||||
|
Reference in New Issue
Block a user