updated docs, set hardwareback default to true
This commit is contained in:
parent
9de15ac8bf
commit
a45dbc80b4
@ -94,6 +94,7 @@ instance, or the system browser.
|
|||||||
- __hidden__: set to `yes` to create the browser and load the page, but not show it. The loadstop event fires when loading is complete. Omit or set to `no` (default) to have the browser open and load normally.
|
- __hidden__: set to `yes` to create the browser and load the page, but not show it. The loadstop event fires when loading is complete. Omit or set to `no` (default) to have the browser open and load normally.
|
||||||
- __clearcache__: set to `yes` to have the browser's cookie cache cleared before the new window is opened
|
- __clearcache__: set to `yes` to have the browser's cookie cache cleared before the new window is opened
|
||||||
- __clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened
|
- __clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened
|
||||||
|
- __hardwareback__: set to `yes` to use the hardware back button to navigate backwards through the `InAppBrowser`'s history. If there is no previous page, the `InAppBrowser` will close. The default value is `yes`, so you must set it to `no` if you want the back button to simply close the InAppBrowser.
|
||||||
|
|
||||||
iOS only:
|
iOS only:
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ public class InAppBrowser extends CordovaPlugin {
|
|||||||
private boolean openWindowHidden = false;
|
private boolean openWindowHidden = false;
|
||||||
private boolean clearAllCache= false;
|
private boolean clearAllCache= false;
|
||||||
private boolean clearSessionCache=false;
|
private boolean clearSessionCache=false;
|
||||||
private boolean hadwareBackButton=false;
|
private boolean hadwareBackButton=true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes the request and returns PluginResult.
|
* Executes the request and returns PluginResult.
|
||||||
|
Loading…
Reference in New Issue
Block a user