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/02/01 00:45:13 UTC

docs commit: [CB-2311] Add docs for iOS specific InAppBrowser window.open options

Updated Branches:
  refs/heads/master b8e58c5d3 -> dd18031d3


[CB-2311] Add docs for iOS specific InAppBrowser window.open options


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/dd18031d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/dd18031d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/dd18031d

Branch: refs/heads/master
Commit: dd18031d3374d6cfd10cec947f2c41f8654ec686
Parents: b8e58c5
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Jan 31 15:45:05 2013 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu Jan 31 15:45:05 2013 -0800

----------------------------------------------------------------------
 docs/en/edge/cordova/inappbrowser/window.open.md |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/dd18031d/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 45cc760..37cfc5e 100644
--- a/docs/en/edge/cordova/inappbrowser/window.open.md
+++ b/docs/en/edge/cordova/inappbrowser/window.open.md
@@ -35,9 +35,19 @@ Opens a URL in a new InAppBrowser instance, the current browser instance, or the
     
 - __options:__ options for the InAppBrowser (`String`) (Optional, Default: "location=yes")
     
-    The options string must not contain any blank space, each feature name and value must be separated by a comma. Only the value below is supported:
-
-            location - set to 'yes' or 'no' to turn the location bar on or off for the InAppBrowser
+    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
+
+    iOS only
+    --------
+    - __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')
+    - __keyboardDisplayRequiresUserAction__ - set to 'yes' or 'no' to open the keyboard when form elements get focus via the JavaScript focus() call (defaults to 'yes')
+    - __suppressesIncrementalRendering__ - set to 'yes' or 'no' to wait until all new view content has been received before it is rendered (defaults to 'no')
+    - __presentationstyle__ -  set to 'pagesheet', 'formsheet' or 'fullscreen' to set the [presentation style](http://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalPresentationStyle) (defaults to 'fullscreen')
+    - __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')
             
 Supported Platforms
 -------------------