docs(in-app-browser): insertCSS example update

docs(in-app-browser): insertCSS example update
This commit is contained in:
Daniel Sogl 2018-03-17 01:05:19 +01:00 committed by GitHub
commit 39017df2e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,12 @@ export class InAppBrowserObject {
* const browser = this.iab.create('https://ionicframework.com/');
*
* browser.executeScript(...);
*
* browser.insertCSS(...);
* browser.on('loadstop').subscribe(event => {
* browser.insertCSS({ code: "body{color: red;" });
* });
*
* browser.close();
*
* ```