update js api

This commit is contained in:
pengfei.zhou
2020-04-22 11:37:43 +08:00
committed by osborn
parent 8214e50f79
commit 229fc41de3
9 changed files with 15 additions and 15 deletions

2
doric-js/index.d.ts vendored
View File

@@ -523,7 +523,7 @@ declare module 'doric/lib/src/widget/list' {
y: number;
}) => void;
scrolledPosition?: number;
scrollToItem(context: BridgeContext, pos: number, config?: {
scrollToItem(context: BridgeContext, index: number, config?: {
animated?: boolean;
}): Promise<any>;
reset(): void;