Skip to content

Commit d52239d

Browse files
author
farfromrefug
committed
chore: typings fix
1 parent bd44ab9 commit d52239d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/collectionview/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export class CollectionView extends CollectionViewBase {
1414
public refresh();
1515
public refreshVisibleItems();
1616
public isItemAtIndexVisible(index: number): boolean;
17+
public findFirstVisibleItemIndex(): number;
1718
public scrollToIndex(index: number, animated?: boolean, snap?: SnapPosition = SnapPosition.START);
1819
public scrollToOffset(value: number, animation?: boolean);
1920
public getViewForItemAtIndex(index: number): View;
@@ -23,9 +24,8 @@ export class CollectionView extends CollectionViewBase {
2324
startDragging(index: number, pointer?: Pointer);
2425
async eachChildAsync(callback);
2526

26-
on(event: CollectionViewBase.itemLoadingEvent, callback: (args: CollectionViewItemEventData) => void, thisArg?: any);
27-
on(event: CollectionViewBase.displayItemEvent, callback: (args: CollectionViewItemDisplayEventData) => void, thisArg?: any);
28-
27+
on(event: CollectionViewBase.itemLoadingEvent, callback: (args: CollectionViewItemEventData) => void, thisArg?: any);
28+
on(event: CollectionViewBase.displayItemEvent, callback: (args: CollectionViewItemDisplayEventData) => void, thisArg?: any);
2929
}
3030

3131
export interface CollectionViewItemEventData extends EventData {

0 commit comments

Comments
 (0)