WebViewNavigationEvent
A WebView's loadStart, load, loadEnd or navigate event, carrying the page's url, title, loading and history state.
Usage
Embed a hosted help page
This type is used by WebView
import { WebView } from 'kuito';
export default function Help() {
return <WebView flex={1} src="https://example.com/help" />;
}Type declaration
export type WebViewNavigationEvent = NativeViewEvent<
'loadStart' | 'load' | 'loadEnd' | 'navigate',
WebViewNavigation
>;Members 8
| Name | Type | Required | Description |
|---|---|---|---|
type | "load" | "loadStart" | "loadEnd" | "navigate" | Yes | — |
target | unknown | Yes | — |
isTrusted | boolean | Yes | — |
url | string | Yes | — |
title | string | Yes | — |
loading | boolean | Yes | — |
canGoBack | boolean | Yes | — |
canGoForward | boolean | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.