You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2013/05/20 22:11:35 UTC
docs commit: [CB-3408] Add docs for new InAppBrowser options
(iOS/Android)
Updated Branches:
refs/heads/master 780e0bd6b -> 6666ddcc6
[CB-3408] Add docs for new InAppBrowser options (iOS/Android)
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/6666ddcc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/6666ddcc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/6666ddcc
Branch: refs/heads/master
Commit: 6666ddcc60cea54cc65e491d50f5abbe65eee751
Parents: 780e0bd
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon May 20 13:11:29 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon May 20 13:11:29 2013 -0700
----------------------------------------------------------------------
docs/en/edge/cordova/inappbrowser/window.open.md | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/6666ddcc/docs/en/edge/cordova/inappbrowser/window.open.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/inappbrowser/window.open.md b/docs/en/edge/cordova/inappbrowser/window.open.md
index 60fb50e..b7fbd87 100644
--- a/docs/en/edge/cordova/inappbrowser/window.open.md
+++ b/docs/en/edge/cordova/inappbrowser/window.open.md
@@ -37,10 +37,15 @@ Opens a URL in a new InAppBrowser instance, the current browser instance, or the
The options string must not contain any blank space, each feature name and value must be separated by a comma. Feature names are case insensitive. Only the value below is supported on all platforms:
- - __location__ - set to 'yes' or 'no' to turn the location bar on or off for the InAppBrowser
+ - __location__ - set to 'yes' or 'no' to turn the location bar on or off for the InAppBrowser (defaults to 'yes')
+
+ iOS and Android only
+ --------------------
+ - __closebuttoncaption__ - set to a string that will be the caption for the "Done" button. Note that if you set this for iOS, you will have to localize this value yourself.
iOS only
--------
+ - __toolbar__ - set to 'yes' or 'no' to turn the toolbar on or off for the InAppBrowser (defaults to 'yes')
- __enableViewportScale__ - set to 'yes' or 'no' to prevent viewport scaling through a meta tag (defaults to 'no')
- __mediaPlaybackRequiresUserAction__ - set to 'yes' or 'no' to not allow autoplayed HTML5 video (defaults to 'no')
- __allowInlineMediaPlayback__ - set to 'yes' or 'no' to allow inline HTML5 media playback, also, the video element in the HTML document must also include the webkit-playsinline attribute (defaults to 'no')