How to specify different heights for each ons-carousel-item?
-
Hello,
I’m trying to use carousel in my app. each ons-carousel-item would be created dynamically and they would have different content (images/texts) inside them.
So, the height of each ons-carousel-item would be different.
I was wondering if i can change the height of each ons-carousel-item based on its content?
I’m simply experementing with this example:
https://codepen.io/pen/?&editors=101
Any help would be appreciated.
Thanks in advance.
-
No working example… Please get the right link of them so we can help
@Roozbeh-Farhadi said:
Hello,
I’m trying to use carousel in my app. each ons-carousel-item would be created dynamically and they would have different content (images/texts) inside them.
So, the height of each ons-carousel-item would be different.
I was wondering if i can change the height of each ons-carousel-item based on its content?
I’m simply experementing with this example:
https://codepen.io/pen/?&editors=101
Any help would be appreciated.
Thanks in advance.