# ScrollEvent

```ts
type ScrollEvent = object;
```

A scroll, for [onScroll](<https://rasmuskard.github.io/react-native-minimal-webview/typescript/extensions/functions/onScroll/index.md>), in points (iOS) or dp (Android): what react-native-webview's event has in `nativeEvent`.

## Properties

### contentInset

```ts
contentInset: object;
```

The scroll view's own `contentInset` (iOS), without the automatic adjustment the offsets include. All 0 on Android.

| Name | Type |
| --- | --- |
| `bottom` | `number` |
| `left` | `number` |
| `right` | `number` |
| `top` | `number` |

---

### contentOffset

```ts
contentOffset: object;
```

| Name | Type |
| --- | --- |
| `x` | `number` |
| `y` | `number` |

---

### contentSize

```ts
contentSize: object;
```

| Name | Type |
| --- | --- |
| `height` | `number` |
| `width` | `number` |

---

### layoutMeasurement

```ts
layoutMeasurement: object;
```

The WebView's own size.

| Name | Type |
| --- | --- |
| `height` | `number` |
| `width` | `number` |

---

### zoomScale?

```ts
zoomScale?: number;
```

**`iOS`**
