AddEventListener not working for InAppBrowser

Hey i tried your code but i get below error

TypeError: this.iabRef.on is not a function

Code that i used

iabRef: any;

this.iabRef = InAppBrowser.open(’…/PaymentGwRes.html’, ‘_blank’, ‘location=true’);

this.iabRef.on("loadstart")
            .subscribe(
            () => {
                this.iabLoadStart(this);
            },
            err => {
                console.log("InAppBrowser loadstart Event Error: " + err);
            });