Update index.ts

This commit is contained in:
Daniel Sogl 2018-03-17 01:03:46 +01:00 committed by GitHub
parent 8b829101ff
commit 3841219dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ export class InAppBrowserObject {
* @description Launches in app Browser
* @usage
* ```typescript
* import { InAppBrowser, InAppBrowserEvent } from '@ionic-native/in-app-browser';
* import { InAppBrowser } from '@ionic-native/in-app-browser';
*
* constructor(private iab: InAppBrowser) { }
*
@ -168,7 +168,7 @@ export class InAppBrowserObject {
* browser.executeScript(...);
*
* browser.insertCSS(...);
* browser.on('loadstop').subscribe((event: InAppBrowserEvent) => {
* browser.on('loadstop').subscribe(event => {
* browser.insertCSS({ code: "body{color: red;" });
* });
*