HYUNGU, KANG 5 yıl önce
ebeveyn
işleme
da83d7cc8c
No account linked to committer's email address
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      src/WebViewTypes.ts

+ 2
- 2
src/WebViewTypes.ts Dosyayı Görüntüle

227
   injectedJavaScriptBeforeContentLoaded?: string;
227
   injectedJavaScriptBeforeContentLoaded?: string;
228
   mediaPlaybackRequiresUserAction?: boolean;
228
   mediaPlaybackRequiresUserAction?: boolean;
229
   messagingEnabled: boolean;
229
   messagingEnabled: boolean;
230
-  onScroll?: (event: NativeScrollEvent) => void;
230
+  onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
231
   onLoadingError: (event: WebViewErrorEvent) => void;
231
   onLoadingError: (event: WebViewErrorEvent) => void;
232
   onLoadingFinish: (event: WebViewNavigationEvent) => void;
232
   onLoadingFinish: (event: WebViewNavigationEvent) => void;
233
   onLoadingProgress: (event: WebViewProgressEvent) => void;
233
   onLoadingProgress: (event: WebViewProgressEvent) => void;
788
   /**
788
   /**
789
    * Function that is invoked when the `WebView` scrolls.
789
    * Function that is invoked when the `WebView` scrolls.
790
    */
790
    */
791
-  onScroll?: (event: NativeScrollEvent) => void;
791
+  onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
792
 
792
 
793
   /**
793
   /**
794
    * Function that is invoked when the `WebView` has finished loading.
794
    * Function that is invoked when the `WebView` has finished loading.