Created
December 18, 2017 16:34
-
-
Save GeneralD/b0a14a987ce72c1fa7f627a875c3e6ef to your computer and use it in GitHub Desktop.
This file contains 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
constructor(private iab: InAppBrowser) {} | |
openUrl(url: string, externalBrowser: boolean = false) { | |
const target = externalBrowser ? '_system' : '_blank'; | |
this.iab.create(url, target, TopicDetailPage.options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment