Преглед изворни кода

feat(types): added missing types (#157)

Chet Corcos пре 6 година
родитељ
комит
f70700df24
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5
    0
      typings/index.d.ts

+ 5
- 0
typings/index.d.ts Прегледај датотеку

199
    * backward compatible.
199
    * backward compatible.
200
    */
200
    */
201
   hideKeyboardAccessoryView?: boolean;
201
   hideKeyboardAccessoryView?: boolean;
202
+  /**
203
+   * If true, this will be able horizontal swipe gestures when using the WKWebView. The default value is `false`.
204
+   */
205
+  allowsBackForwardNavigationGestures?: boolean
202
 }
206
 }
203
 
207
 
204
 export interface AndroidWebViewProps {
208
 export interface AndroidWebViewProps {
417
   public goBack: () => void;
421
   public goBack: () => void;
418
   public reload: () => void;
422
   public reload: () => void;
419
   public stopLoading: () => void;
423
   public stopLoading: () => void;
424
+  public injectJavaScript: (js: string) => void
420
 }
425
 }