NavigateEventInit constructor
NavigateEventInit({
- NavigationDestination? destination,
- bool? canIntercept,
- bool? userInitiated,
- bool? hashChange,
- AbortSignal? signal,
- FormData? formData,
- String? downloadRequest,
- dynamic info,
Implementation
factory NavigateEventInit(
{NavigationType? navigationType,
NavigationDestination? destination,
bool? canIntercept,
bool? userInitiated,
bool? hashChange,
AbortSignal? signal,
FormData? formData,
String? downloadRequest,
dynamic info}) =>
NavigateEventInit._(
navigationType: navigationType?.value ?? NavigationType.push.value,
destination: destination ?? undefined,
canIntercept: canIntercept ?? false,
userInitiated: userInitiated ?? false,
hashChange: hashChange ?? false,
signal: signal ?? undefined,
formData: formData ?? undefined,
downloadRequest: downloadRequest ?? undefined,
info: info ?? undefined);