Github user rakatyal commented on a diff in the pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/161#discussion_r58268931 --- Diff: README.md --- @@ -217,6 +217,79 @@ The object returned from a call to `cordova.InAppBrowser.open`. - __callback__: the function that executes when the event fires. The function is passed an `InAppBrowserEvent` object as a parameter. +## Example + +```javascript + +var inAppBrowserRef = undefined; --- End diff -- Can we pass this reference to the callbacks instead of defining it globally?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org