NavigationEventInit constructor

NavigationEventInit({
  1. SpatialNavigationDirection? dir,
  2. EventTarget? relatedTarget,
})

Implementation

factory NavigationEventInit(
        {SpatialNavigationDirection? dir, EventTarget? relatedTarget}) =>
    NavigationEventInit._(
        dir: dir?.value ?? undefined,
        relatedTarget: relatedTarget ?? undefined);