mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
copy edits from @kgindervogel
This commit is contained in:
+15
-13
@@ -32,19 +32,21 @@ export class AppRate {
|
||||
/**
|
||||
* Rating dialog preferences
|
||||
*
|
||||
* useLanguage {String} null - custom BCP 47 language tag
|
||||
* displayAppName {String} '' - custom application title
|
||||
* promptAgainForEachNewVersion {Boolean} true - show dialog again when application version will be updated
|
||||
* usesUntilPrompt {Integer} 3 - count of runs of application before dialog will be displayed
|
||||
* openStoreInApp {Boolean} false - leave app or no when application page opened in app store (now supported only for iOS)
|
||||
* useCustomRateDialog {Boolean} false - use custom view for rate dialog
|
||||
* callbacks.onButtonClicked {Function} null - call back function. called when user clicked on rate-dialog buttons
|
||||
* callbacks.onRateDialogShow {Function} null - call back function. called when rate-dialog showing
|
||||
* storeAppURL.ios {String} null - application id in AppStore
|
||||
* storeAppURL.android {String} null - application URL in GooglePlay
|
||||
* storeAppURL.blackberry {String} null - application URL in AppWorld
|
||||
* storeAppURL.windows8 {String} null - application URL in WindowsStore
|
||||
* customLocale {Object} null - custom locale object
|
||||
* | Option | Type | Default | Description |
|
||||
* |------------------------------|------------|---------|----------------------------------------------------------------------------------------|
|
||||
* | useLanguage | `String` | null | custom BCP 47 language tag |
|
||||
* | displayAppName | `String` | '' | custom application title |
|
||||
* | promptAgainForEachNewVersion | `Boolean` | true | show dialog again when application version will be updated |
|
||||
* | usesUntilPrompt | `Integer` | 3 | count of runs of application before dialog will be displayed |
|
||||
* | openStoreInApp | `Boolean` | false | leave app or no when application page opened in app store (now supported only for iOS) |
|
||||
* | useCustomRateDialog | `Boolean` | false | use custom view for rate dialog |
|
||||
* | callbacks.onButtonClicked | `Function` | null | call back function. called when user clicked on rate-dialog buttons |
|
||||
* | callbacks.onRateDialogShow | `Function` | null | call back function. called when rate-dialog showing |
|
||||
* | storeAppURL.ios | `String` | null | application id in AppStore |
|
||||
* | storeAppURL.android | `String` | null | application URL in GooglePlay |
|
||||
* | storeAppURL.blackberry | `String` | null | application URL in AppWorld |
|
||||
* | storeAppURL.windows8 | `String` | null | application URL in WindowsStore |
|
||||
* | customLocale | `Object` | null | custom locale object |
|
||||
* @type {{}}
|
||||
*/
|
||||
@CordovaProperty
|
||||
|
||||
Reference in New Issue
Block a user