mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(loading): include cssClass in the Loading options
added to test as well fixes #6365
This commit is contained in:
@ -224,6 +224,7 @@ class LoadingCmp {
|
||||
export interface LoadingOptions {
|
||||
spinner?: string;
|
||||
content?: string;
|
||||
cssClass?: string;
|
||||
showBackdrop?: boolean;
|
||||
dismissOnPageChange?: boolean;
|
||||
delay?: number;
|
||||
|
@ -10,7 +10,8 @@ class E2EPage {
|
||||
presentLoadingIos() {
|
||||
let loading = Loading.create({
|
||||
spinner: 'ios',
|
||||
duration: 1000
|
||||
duration: 1000,
|
||||
cssClass: 'my-custom-loader'
|
||||
});
|
||||
|
||||
loading.onDismiss(() => {
|
||||
|
Reference in New Issue
Block a user