Ion slider with ion slider with width less than page width

Is there a way to display multiple slides at once using an ion slider (ion slider)?

You can help me achieve a slider like this:

enter image description here

Thanks!

+5
source share
2 answers

I suggest you use ionic slides , it uses the Swiper API and is introduced in ionic v1.2.0.

ion slides

Ionic Slides in Ionic v2

Swiper Demos

0
source

ion-slide-box works without additional CSS. Just ionic.css. Used it in my application. but as far as I can see, this means that it should show only one slide on the page. Are you trying to change the CSS and get some slides to display on the page? If so, I guess this is not the right approach.

This is a description given by Ion for an ion-slide box.

A slide box is a multi-page container where you can scroll or drag each page between:

See http://ionicframework.com/docs/api/directive/ionSlideBox/

-3
source

Source: https://habr.com/ru/post/1208162/


All Articles