WebViewNavigationEvent
A WebView's loadStart, load, loadEnd or navigate event, carrying the page's url, title, loading and history state.
Utilisation
Embed a hosted help page
Ce type est utilisé par WebView
import { WebView } from 'kuito';
export default function Help() {
return <WebView flex={1} src="https://example.com/help" />;
}Déclaration du type
export type WebViewNavigationEvent = NativeViewEvent<
'loadStart' | 'load' | 'loadEnd' | 'navigate',
WebViewNavigation
>;Membres 8
| Nom | Type | Requis | Description |
|---|---|---|---|
type | "load" | "loadStart" | "loadEnd" | "navigate" | Oui | — |
target | unknown | Oui | — |
isTrusted | boolean | Oui | — |
url | string | Oui | — |
title | string | Oui | — |
loading | boolean | Oui | — |
canGoBack | boolean | Oui | — |
canGoForward | boolean | Oui | — |
Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.