[options]="option"
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="main-content" style="display: block; margin: 0; padding: 0; ">
|
||||
<div class="box_container">
|
||||
<div class="box">
|
||||
<ion-slides pager="ios" style="height: 100%;">
|
||||
<ion-slides [options]="option" pager="ios" style="height: 100%;">
|
||||
<ion-slide class="slide_image"
|
||||
[style.backgroundImage]="'url(assets/images/start_slider_2.jpg)'"
|
||||
[style.background-size]="'cover'"
|
||||
|
||||
@@ -9,6 +9,14 @@ import {WrenchService} from "../../services/wrench.service";
|
||||
})
|
||||
export class SliderPage implements OnInit {
|
||||
|
||||
option = {
|
||||
slidesPerView: 1.0,
|
||||
centeredSlides: true,
|
||||
loop: true,
|
||||
spaceBetween: 120,
|
||||
autoplay:true,
|
||||
}
|
||||
|
||||
constructor(
|
||||
private wrenchService: WrenchService,
|
||||
private router: Router
|
||||
|
||||
Reference in New Issue
Block a user