fix(loading): include cssClass in the Loading options

added to test as well

fixes #6365
This commit is contained in:
Brandy Carney
2016-04-29 15:52:17 -04:00
parent 45e37ceb29
commit 4c8ee956b7
2 changed files with 3 additions and 1 deletions

View File

@ -224,6 +224,7 @@ class LoadingCmp {
export interface LoadingOptions {
spinner?: string;
content?: string;
cssClass?: string;
showBackdrop?: boolean;
dismissOnPageChange?: boolean;
delay?: number;

View File

@ -10,7 +10,8 @@ class E2EPage {
presentLoadingIos() {
let loading = Loading.create({
spinner: 'ios',
duration: 1000
duration: 1000,
cssClass: 'my-custom-loader'
});
loading.onDismiss(() => {