You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,28 +101,30 @@ instance, or the system browser.
101
101
102
102
-__options__: Options for the `InAppBrowser`. Optional, defaulting to: `location=yes`. _(String)_
103
103
104
-
The `options` string must not contain any blank space, and each feature's name/value pairs must be separated by a comma. Feature names are case insensitive. All platforms support the value below:
104
+
The `options` string must not contain any blank space, and each feature's name/value pairs must be separated by a comma. Feature names are case insensitive.
105
+
106
+
All platforms support:
105
107
106
108
-__location__: Set to `yes` or `no` to turn the `InAppBrowser`'s location bar on or off.
107
109
108
-
Android only:
110
+
Android supports these additional options:
109
111
110
112
-__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.
111
113
-__clearcache__: set to `yes` to have the browser's cookie cache cleared before the new window is opened
112
114
-__clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened
113
-
-__zoom__: set to `yes` to show Android browser's zoom controls, set to `no` to hide them. Default value is `yes`.
114
115
-__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.
116
+
-__zoom__: set to `yes` to show Android browser's zoom controls, set to `no` to hide them. Default value is `yes`.
115
117
-__mediaPlaybackRequiresUserAction__: Set to `yes` to prevent HTML5 audio or video from autoplaying (defaults to `no`).
116
118
-__shouldPauseOnSuspend__: Set to `yes` to make InAppBrowser WebView to pause/resume with the app to stop background audio (this may be required to avoid Google Play issues like described in [CB-11013](https://issues.apache.org/jira/browse/CB-11013)).
117
119
-__useWideViewPort__: Sets whether the WebView should enable support for the "viewport" HTML meta tag or should use a wide viewport. When the value of the setting is `no`, the layout width is always set to the width of the WebView control in device-independent (CSS) pixels. When the value is `yes` and the page contains the viewport meta tag, the value of the width specified in the tag is used. If the page does not contain the tag or does not provide a width, then a wide viewport will be used. (defaults to `yes`).
118
120
119
-
iOS only:
121
+
iOS supports these additional options:
120
122
121
-
-__closebuttoncaption__: set to a string to use as the __Done__ button's caption. Note that you need to localize this value yourself.
122
-
-__disallowoverscroll__: Set to `yes` or `no` (default is `no`). Turns on/off the UIWebViewBounce property.
123
123
-__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.
124
124
-__clearcache__: set to `yes` to have the browser's cookie cache cleared before the new window is opened
125
-
-__clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened
125
+
-__clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened
126
+
-__closebuttoncaption__: set to a string to use as the __Done__ button's caption. Note that you need to localize this value yourself.
127
+
-__disallowoverscroll__: Set to `yes` or `no` (default is `no`). Turns on/off the UIWebViewBounce property.
126
128
-__toolbar__: set to `yes` or `no` to turn the toolbar on or off for the InAppBrowser (defaults to `yes`)
127
129
-__enableViewportScale__: Set to `yes` or `no` to prevent viewport scaling through a meta tag (defaults to `no`).
128
130
-__mediaPlaybackRequiresUserAction__: Set to `yes` to prevent HTML5 audio or video from autoplaying (defaults to `no`).
@@ -133,11 +135,12 @@ instance, or the system browser.
133
135
-__transitionstyle__: Set to `fliphorizontal`, `crossdissolve` or `coververtical` to set the [transition style](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalTransitionStyle) (defaults to `coververtical`).
134
136
-__toolbarposition__: Set to `top` or `bottom` (default is `bottom`). Causes the toolbar to be at the top or bottom of the window.
135
137
136
-
Windows only:
138
+
Windows supports these additional options:
137
139
138
140
-__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.
139
-
-__fullscreen__: set to `yes` to create the browser control without a border around it. Please note that if __location=no__ is also specified, there will be no control presented to user to close IAB window.
140
141
-__hardwareback__: works the same way as on Android platform.
142
+
-__fullscreen__: set to `yes` to create the browser control without a border around it. Please note that if __location=no__ is also specified, there will be no control presented to user to close IAB window.
0 commit comments