WebViewNavigationEvent
A WebView's loadStart, load, loadEnd or navigate event, carrying the page's url, title, loading and history state.
Utilização
Embed a hosted help page
Este tipo é usado por WebView
import { WebView } from 'kuito';
export default function Help() {
return <WebView flex={1} src="https://example.com/help" />;
}Declaração do tipo
export type WebViewNavigationEvent = NativeViewEvent<
'loadStart' | 'load' | 'loadEnd' | 'navigate',
WebViewNavigation
>;Membros 8
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
type | "load" | "loadStart" | "loadEnd" | "navigate" | Sim | — |
target | unknown | Sim | — |
isTrusted | boolean | Sim | — |
url | string | Sim | — |
title | string | Sim | — |
loading | boolean | Sim | — |
canGoBack | boolean | Sim | — |
canGoForward | boolean | Sim | — |
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.