You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/07/30 21:57:50 UTC

[jira] [Updated] (CB-4293) Document onload param for tag in plugin spec

     [ https://issues.apache.org/jira/browse/CB-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj updated CB-4293:
--------------------------

    Component/s:     (was: Plugman)
                 iOS

This is not a plugman plugin spec documentation issue but rather a native plugin authoring guide documentation issue for ios.

http://cordova.apache.org/docs/en/3.0.0/guide_platforms_ios_plugin.md.html#iOS%20Plugins

Do a search for "<plugin", there are still several references to <plugin> instead of <feature>

The onload param should be documented in there.
                
> Document onload param for <feature> tag in plugin spec
> ------------------------------------------------------
>
>                 Key: CB-4293
>                 URL: https://issues.apache.org/jira/browse/CB-4293
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs, iOS
>            Reporter: Shazron Abdullah
>            Assignee: Filip Maj
>             Fix For: 3.1.0
>
>
> The param "onload" is supported on both iOS and Android, not sure about other platforms. It should be documented in the plugin spec.
> When this value is set to true, the plugin is loaded on startup.
> {code}
>     <feature name="Geolocation">
>       <param name="ios-package" value="CDVLocation"/>
>       <param name="onload" value="true" />
>     </feature>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira