cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omef...@apache.org
Subject [10/11] docs commit: Documenting missing options
Date Tue, 02 Feb 2016 21:05:43 GMT
Documenting missing 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/561571a4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/561571a4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/561571a4

Branch: refs/heads/master
Commit: 561571a4cf2e03ab13c379b69211e6f3a6927141
Parents: 4e37a7d
Author: Omar Mefire <omefire@gmail.com>
Authored: Wed Jan 27 14:06:46 2016 -0800
Committer: Omar Mefire <omefire@gmail.com>
Committed: Tue Feb 2 12:50:34 2016 -0800

----------------------------------------------------------------------
 www/docs/en/dev/config_ref/index.md | 43 ++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/561571a4/www/docs/en/dev/config_ref/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/config_ref/index.md b/www/docs/en/dev/config_ref/index.md
index 40052c3..0b6144b 100644
--- a/www/docs/en/dev/config_ref/index.md
+++ b/www/docs/en/dev/config_ref/index.md
@@ -159,6 +159,49 @@ platform. See [Icons and Splash Screens](images.html) for more information.
     </widget>
     
     
+## allow-navigation
+   Controls which URLs the WebView itself can be navigated to. Applies to top-level navigations
only.
+   
+   Attributes (type) | Description
+   ----------------- | ------------
+   href (string) | *Required: true* <br/> Defines the set of external domains the WebView
is allowed to navigate to. 
+   See the cordova-plugin-whitelist [cordova-plugin-whitelist](https://github.com/apache/cordova-plugin-whitelist#navigation-whitelist)
for details.
+   
+   Examples:
+   
+    <!-- Allow links to example.com -->
+    <allow-navigation href="http://example.com/*" />
+
+    <!-- Wildcards are allowed for the protocol, as a prefix to the host, or as a suffix
to the path -->
+    <allow-navigation href="*://*.example.com/*" />
+   
+## allow-intent
+   Controls which URLs the app is allowed to ask the system to open. By default, no external
URLs are allowed.
+   
+   Attributes (type) | Description
+   ----------------- | ------------
+   href (string) | *Required: true* <br/> Defines which URLs the app is allowed to
ask the system to open. 
+   See the cordova-plugin-whitelist [cordova-plugin-whitelist](https://github.com/apache/cordova-plugin-whitelist#intent-whitelist)
for details.  
+  
+   Examples:
+   
+    <allow-intent href="http://*/*" />
+    <allow-intent href="https://*/*" />
+    <allow-intent href="tel:*" />
+    <allow-intent href="sms:*" />
+  
+## engine
+   Specifies what platform to restore during a prepare. For more details, see the Platforms
& Plugins Version Management.
+   
+   Attributes (type) | Description
+   ----------------- | ------------
+   name (string) | *Required: true* <br/> Name of the platform to be restored
+   spec (string) | *Required: true* <br/> Version of the platform to be restored
+   
+   Examples:
+
+    <engine name="android" spec="^4.0.0" />
+    
 ## preference
    Sets various optinos as pairs of name/value attributes. Each preference's name is case-insensitive.
Many preferences are unique to specific platforms,
    and will be indicated as such.  


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message