mirror of
https://github.com/status-im/react-native-webview.git
synced 2025-02-23 17:28:37 +00:00
chore(types): Update Reference.md (#687)
added doc for the `textZoom` property
This commit is contained in:
parent
38110327ed
commit
1e809932ff
@ -54,6 +54,7 @@ This document lays out the current public properties and methods for the React N
|
||||
- [`pagingEnabled`](Reference.md#pagingEnabled)
|
||||
- [`allowsLinkPreview`](Reference.md#allowsLinkPreview)
|
||||
- [`sharedCookiesEnabled`](Reference.md#sharedCookiesEnabled)
|
||||
- [`textZoom`](Reference.md#textZoom)
|
||||
|
||||
## Methods Index
|
||||
|
||||
@ -894,6 +895,22 @@ Set `true` if shared cookies from `[NSHTTPCookieStorage sharedHTTPCookieStorage]
|
||||
| ------- | -------- | -------- |
|
||||
| boolean | No | iOS |
|
||||
|
||||
---
|
||||
|
||||
### `textZoom`
|
||||
|
||||
If the user has set a custom font size in the Android system, an undesirable scale of the site interface in WebView occurs.
|
||||
|
||||
When setting the standard textZoom (100) parameter size, this undesirable effect disappears.
|
||||
|
||||
| Type | Required | Platform |
|
||||
| ------ | -------- | -------- |
|
||||
| number | No | Android |
|
||||
|
||||
Example:
|
||||
|
||||
`<WebView textZoom={100} />`
|
||||
|
||||
## Methods
|
||||
|
||||
### `extraNativeComponentConfig()`
|
||||
|
Loading…
x
Reference in New Issue
Block a user