Skip to content

Commit

Permalink
fix(loading): include cssClass in the Loading options
Browse files Browse the repository at this point in the history
added to test as well

fixes #6365
  • Loading branch information
brandyscarney committed Apr 29, 2016
1 parent 45e37ce commit 4c8ee95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ionic/components/loading/loading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ class LoadingCmp {
export interface LoadingOptions {
spinner?: string;
content?: string;
cssClass?: string;
showBackdrop?: boolean;
dismissOnPageChange?: boolean;
delay?: number;
Expand Down
3 changes: 2 additions & 1 deletion ionic/components/loading/test/basic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ class E2EPage {
presentLoadingIos() {
let loading = Loading.create({
spinner: 'ios',
duration: 1000
duration: 1000,
cssClass: 'my-custom-loader'
});

loading.onDismiss(() => {
Expand Down

0 comments on commit 4c8ee95

Please sign in to comment.