mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
6
nativescript-core/ui/scroll-view/index.d.ts
vendored
6
nativescript-core/ui/scroll-view/index.d.ts
vendored
@@ -66,14 +66,14 @@ export class ScrollView extends ContentView {
|
||||
* @param callback - Callback function which will be executed when event is raised.
|
||||
* @param thisArg - An optional parameter which will be used as `this` context for callback execution.
|
||||
*/
|
||||
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
|
||||
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any): void;
|
||||
|
||||
/**
|
||||
* Raised when a scroll event occurs.
|
||||
*/
|
||||
on(event: 'scroll', callback: (args: ScrollEventData) => void, thisArg?: any);
|
||||
on(event: 'scroll', callback: (args: ScrollEventData) => void, thisArg?: any): void;
|
||||
|
||||
_onOrientationChanged();
|
||||
_onOrientationChanged(): void;
|
||||
}
|
||||
|
||||
export interface ScrollEventData extends EventData {
|
||||
|
||||
Reference in New Issue
Block a user