ionic3 - Ionic2 LoadingController spinner animation not working -
i trying show loading animation using ionic2 long service progress report:
this.loading = this.loadingctrl.create({ content: 'please wait...', spinner: 'ripple' // <<------ correct? }); this.loading.present();
the result text box without spinner.
this 09/22/2016 ionic2 using latest beta (11) , cannot find example above anywhere. future feature documented not yet implemented?
i talking ionic2 loadingcontroller
documentations here
is ripple
custom spinner? otherwise, can check by default available spinners here:
ios ios-small bubbles circles crescent dots
the spinner name should passed in spinner property, , optional html can passed in content property. if not pass value spinner loading indicator use spinner specified mode. set spinner name across app, set value of loadingspinner in app's config. hide spinner, set loadingspinner: 'hide' in app's config or pass spinner: 'hide' in loading options
so option, use specified spynner according mode this:
this.loading = this.loadingctrl.create({ content: 'please wait...' }); this.loading.present();
Comments
Post a Comment