demo: https://owlcarousel2.github.io/OwlCarousel2/demos/responsive.html
<owl-carousel-o [options]="customOptions">
<ng-container *ngFor="let item of data">
<ng-template carouselSlide [id]="item.id" [width]="280">
{{item}}
</ng-template>
</ng-container>
</owl-carousel-o>
customOptions = {
margin: 20,
loop: false,
mouseDrag: true,
touchDrag: false,
pullDrag: false,
dots: true,
navSpeed: 800,
items: 5,
autoWidth: true,
responsive: {
300: {
items: 1,
},
600: {
items: 2,
},
900: {
items: 3,
},
1180: {
items: 4,
},
1400: {
items: 5,
},
},
}