mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(slides): update slide tests to use options instead of attributes
references #5189
This commit is contained in:
@@ -9,7 +9,7 @@ class MyApp {
|
||||
this.app = app;
|
||||
this.http = http;
|
||||
|
||||
this.extraOptions = {
|
||||
this.mySlideOptions = {
|
||||
loop: true
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<ion-slides [options]="extraOptions" id="slider" style="background-color: black" zoom>
|
||||
<ion-slides [options]="mySlideOptions" id="slider" style="background-color: black">
|
||||
<ion-slide *ngFor="#image of images">
|
||||
<img data-src="{{getImageUrl(image)}}" slide-lazy>
|
||||
</ion-slide>
|
||||
|
||||
Reference in New Issue
Block a user