mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge pull request #3408 from shamsher31/master
Update exit() to exitApp()
This commit is contained in:
1
js/angular/directive/refresher.js
vendored
1
js/angular/directive/refresher.js
vendored
@@ -48,6 +48,7 @@
|
||||
* of the refresher.
|
||||
* @param {expression=} on-pulling Called when the user starts to pull down
|
||||
* on the refresher.
|
||||
* @param {string=} pulling-text The text to display while the user is pulling down.
|
||||
* @param {string=} pulling-icon The icon to display while the user is pulling down.
|
||||
* Default: 'ion-android-arrow-down'.
|
||||
* @param {string=} spinner The {@link ionic.directive:ionSpinner} icon to display
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
* var currentPlatform = ionic.Platform.platform();
|
||||
* var currentPlatformVersion = ionic.Platform.version();
|
||||
*
|
||||
* ionic.Platform.exit(); // stops the app
|
||||
* ionic.Platform.exitApp(); // stops the app
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user