mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00

committed by
Adam Bradley

parent
1c882b31a5
commit
ec99bfd019
@ -85,7 +85,7 @@ export class Loading extends ViewController {
|
||||
* will show even during page changes, but this can be disabled by setting
|
||||
* `dismissOnPageChange` to `true`. To dismiss the loading indicator after
|
||||
* creation, call the `dismiss()` method on the Loading instance. The
|
||||
* `onDismiss` function can be called to perform an action after the loading
|
||||
* `onDidDismiss` function can be called to perform an action after the loading
|
||||
* indicator is dismissed.
|
||||
*
|
||||
* >Note that after the component is dismissed, it will not be usable anymore
|
||||
@ -126,7 +126,7 @@ export class Loading extends ViewController {
|
||||
* duration: 5000
|
||||
* });
|
||||
*
|
||||
* loading.onDismiss(() => {
|
||||
* loading.onDidDismiss(() => {
|
||||
* console.log('Dismissed loading');
|
||||
* });
|
||||
*
|
||||
|
@ -15,7 +15,7 @@ class E2EPage {
|
||||
cssClass: 'my-custom-loader'
|
||||
});
|
||||
|
||||
loading.onDismiss(() => {
|
||||
loading.onDidDismiss(() => {
|
||||
console.log('Dismissed loading');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user