Hi
I’m at a bit of a loss, hopefully someone here will have come across this.
I am using the Ionic Native InAppBrowser, with
import {InAppBrowser, InAppBrowserRef} from 'ionic-native';
then I am looking to use the standard functions:
browser.show(); browser.close(); browser.addEventListener(type, callback); browser.executeScript(script, callback); browser.insertCSS(css, callback);
The problem I have is that I am using plain Javascript, so I’m looking for a translation of this syntax:
let browser: InAppBrowserRef = InAppBrowser.open(url, target, options);
into Javascript so I can use the InAppBrowser object across my page functions.
Any help please?
Thanks
Tom