|
@@ -266,6 +266,13 @@ export interface AndroidNativeWebViewProps extends CommonNativeWebViewProps {
|
266
|
266
|
urlPrefixesForDefaultIntent?: readonly string[];
|
267
|
267
|
}
|
268
|
268
|
|
|
269
|
+export enum ContentInsetAdjustmentBehavior {
|
|
270
|
+ automatic = 'automatic',
|
|
271
|
+ scrollableAxes = 'scrollableAxes',
|
|
272
|
+ never = 'never',
|
|
273
|
+ always = 'always'
|
|
274
|
+};
|
|
275
|
+
|
269
|
276
|
export interface IOSNativeWebViewProps extends CommonNativeWebViewProps {
|
270
|
277
|
allowingReadAccessToURL?: string;
|
271
|
278
|
allowsBackForwardNavigationGestures?: boolean;
|
|
@@ -274,11 +281,7 @@ export interface IOSNativeWebViewProps extends CommonNativeWebViewProps {
|
274
|
281
|
automaticallyAdjustContentInsets?: boolean;
|
275
|
282
|
bounces?: boolean;
|
276
|
283
|
contentInset?: ContentInsetProp;
|
277
|
|
- contentInsetAdjustmentBehavior?:
|
278
|
|
- | 'automatic'
|
279
|
|
- | 'scrollableAxes'
|
280
|
|
- | 'never'
|
281
|
|
- | 'always';
|
|
284
|
+ contentInsetAdjustmentBehavior?: ContentInsetAdjustmentBehavior;
|
282
|
285
|
dataDetectorTypes?: DataDetectorTypes | readonly DataDetectorTypes[];
|
283
|
286
|
decelerationRate?: number;
|
284
|
287
|
directionalLockEnabled?: boolean;
|
|
@@ -297,11 +300,7 @@ export interface MacOSNativeWebViewProps extends CommonNativeWebViewProps {
|
297
|
300
|
automaticallyAdjustContentInsets?: boolean;
|
298
|
301
|
bounces?: boolean;
|
299
|
302
|
contentInset?: ContentInsetProp;
|
300
|
|
- contentInsetAdjustmentBehavior?:
|
301
|
|
- | 'automatic'
|
302
|
|
- | 'scrollableAxes'
|
303
|
|
- | 'never'
|
304
|
|
- | 'always';
|
|
303
|
+ contentInsetAdjustmentBehavior?: ContentInsetAdjustmentBehavior;
|
305
|
304
|
directionalLockEnabled?: boolean;
|
306
|
305
|
hideKeyboardAccessoryView?: boolean;
|
307
|
306
|
pagingEnabled?: boolean;
|
|
@@ -364,11 +363,7 @@ export interface IOSWebViewProps extends WebViewSharedProps {
|
364
|
363
|
* content area of the scroll view. The default value of this property is
|
365
|
364
|
* "never". Available on iOS 11 and later.
|
366
|
365
|
*/
|
367
|
|
- contentInsetAdjustmentBehavior?:
|
368
|
|
- | 'automatic'
|
369
|
|
- | 'scrollableAxes'
|
370
|
|
- | 'never'
|
371
|
|
- | 'always';
|
|
366
|
+ contentInsetAdjustmentBehavior?: ContentInsetAdjustmentBehavior;
|
372
|
367
|
|
373
|
368
|
/**
|
374
|
369
|
* The amount by which the web view content is inset from the edges of
|
|
@@ -530,11 +525,7 @@ export interface MacOSWebViewProps extends WebViewSharedProps {
|
530
|
525
|
* content area of the scroll view. The default value of this property is
|
531
|
526
|
* "never". Available on iOS 11 and later.
|
532
|
527
|
*/
|
533
|
|
- contentInsetAdjustmentBehavior?:
|
534
|
|
- | 'automatic'
|
535
|
|
- | 'scrollableAxes'
|
536
|
|
- | 'never'
|
537
|
|
- | 'always';
|
|
528
|
+ contentInsetAdjustmentBehavior?: ContentInsetAdjustmentBehavior;
|
538
|
529
|
|
539
|
530
|
/**
|
540
|
531
|
* The amount by which the web view content is inset from the edges of
|