Skip to content

Commit

Permalink
fix(slides): delay loading slides until view ready
Browse files Browse the repository at this point in the history
Closes #7089
  • Loading branch information
jgw96 authored and adamdbradley committed Jul 6, 2016
1 parent 153aaaa commit 580b8d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/slides/slides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export class Slides extends Ion {
setTimeout(() => {
var swiper = new Swiper(this.getNativeElement().children[0], options);
this.slider = swiper;
});
}, 300);

/*
* TODO: Finish this
Expand Down Expand Up @@ -736,7 +736,7 @@ export class Slides extends Ion {
if (this.length() > 10) {
this.showPager = false;
}
});
}, 300);
}

/**
Expand Down

0 comments on commit 580b8d5

Please sign in to comment.