You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The key of the target route which received the event
320
+
console.log(e.data.target);
321
+
322
+
// Whether event.preventDefault() was called on this event
323
+
console.log(e.data.defaultPrevented);
324
+
});
325
+
```
326
+
327
+
It's only intended for debugging purposes and shouldn't be used for app logic. To run app logic in response to an event, use the relevant navigator's [`listeners`](screen.md#listeners) prop or [`navigation.addListener`](navigation-object.md#addlistener).
0 commit comments