Skip to content

Instantly share code, notes, and snippets.

@GeneralD
Created December 18, 2017 16:34
Show Gist options
  • Save GeneralD/b0a14a987ce72c1fa7f627a875c3e6ef to your computer and use it in GitHub Desktop.
Save GeneralD/b0a14a987ce72c1fa7f627a875c3e6ef to your computer and use it in GitHub Desktop.
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