Last active
October 19, 2015 09:19
-
-
Save ide/444cbccf40a3ba5cf721 to your computer and use it in GitHub Desktop.
Showing the focus and blur methods on a route
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getHomeRoute() { | |
return { | |
// Implement onWillFocus, onDidFocus, onWillBlur, or onDidBlur | |
onWillFocus(event) { | |
// The event is the one from React Native's Navigator. See the source code | |
// for what properties it has. | |
}, | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment