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
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ simply hook `window.open` during initialization. For example:
83
83
Opens a URL in a new `InAppBrowser` instance, the current browser
84
84
instance, or the system browser.
85
85
86
-
var ref = cordova.InAppBrowser.open(url, target, options);
86
+
var ref = cordova.InAppBrowser.open(url, target, options, headers);
87
87
88
88
-__ref__: Reference to the `InAppBrowser` window when the target is set to `'_blank'`. _(InAppBrowser)_
89
89
@@ -158,6 +158,9 @@ instance, or the system browser.
158
158
-__hardwareback__: works the same way as on Android platform.
159
159
-__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.
160
160
161
+
-__headers__: Headers for the http request. Optional. _(String)_ or _(javascript object)_
162
+
-_(String)_: headers must be in `header=value` form, separated by commas : `header1=value1,header2=value2`. don't use _(String)_ if commas or equals can be contained in headers or values.
163
+
-_(javascript object)_: headers are stored in object's properties like this `{ 'header1': 'value1', 'header2': 'value2'}`. this storage always works even if headers contain commas or equals.
0 commit comments