cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject [1/3] docs commit: [CB-3820] added example of viewport
Date Mon, 21 Oct 2013 21:55:27 GMT
Updated Branches:
  refs/heads/master b606a5ef8 -> 572d37e1f


[CB-3820] added example of viewport


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

Branch: refs/heads/master
Commit: 572d37e1f4efdbae804f0435091c73bbb2a56152
Parents: e06877f
Author: Mike Sierra <msierra@adobe.com>
Authored: Thu Oct 3 11:54:36 2013 -0400
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Mon Oct 21 14:55:34 2013 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/platforms/ios/config.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/572d37e1/docs/en/edge/guide/platforms/ios/config.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/platforms/ios/config.md b/docs/en/edge/guide/platforms/ios/config.md
index a2033b2..5491049 100644
--- a/docs/en/edge/guide/platforms/ios/config.md
+++ b/docs/en/edge/guide/platforms/ios/config.md
@@ -25,11 +25,16 @@ details preferences that only apply to iOS builds. See The config.xml
 File for information on global configuration options.
 
 - `EnableViewportScale` (boolean, defaults to `false`): Set to `true`
-  to use a viewport meta tag to either disable or restrict the range
+  to allow a viewport meta tag to either disable or restrict the range
   of user scaling, which is enabled by default.
 
         <preference name="EnableViewportScale" value="true"/>
 
+  Place a viewport such as the following in the HTML to disable
+  scaling and fit content flexibly within the rendering WebView:
+
+        <meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no'
/>
+
 - `MediaPlaybackRequiresUserAction` (boolean, defaults to `false`):
   Set to `true` to prevent HTML5 videos or audios from playing
   automatically with the `autoplay` attribute or via JavaScript.


Mime
View raw message