I am using ionic2 and with below code I am getting error InAppBrowserEvent does not exist on type of browser
const browser = this.iab.create("someurl", '_blank','location=no'); //If i use this line only it works fine
browser.InAppBrowserEvent('loadstart', this.loadStartCallBack);
browser.InAppBrowserEvent('loadstop', this.loadStopCallBack);
browser.InAppBrowserEvent('loadstop', this.loadErrorCallBack);
Can you please elobrate what will be the return type. If you can give one complete example with onloadstart event pls that would be very helpful. All cases I tried are having error