[options]="option"

This commit is contained in:
CHIEFSOFT\ameye
2024-11-10 13:12:19 -05:00
parent d1f159c591
commit e1d995d588
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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'"
+8
View File
@@ -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