【发布时间】:2018-03-26 08:27:57
【问题描述】:
如果我有不同的幻灯片,我对离子幻灯片的内容高度有疑问。我已将高度设置为自动,但如果我更改为另一个幻灯片高度不会重置。
<ion-slides #pageSlider (ionSlideWillChange)="changeWillSlide($event)" style="height:auto">
<ion-slide>
<h1>ContentTab 1</h1>
<h1>ContentTab 1</h1>
<h1>ContentTab 1</h1>
some more content....
</ion-slide>
<ion-slide>
<h1>ContentTab 1</h1>
<h1>ContentTab 1</h1>
some more content....
</ion-slide>
<ion-slide>
<h1>ContentTab 1</h1>
some more content....
</ion-slide>
</ion-slides>
这里是查看项目的链接
https://stackblitz.com/edit/ionic-gyfjks?file=pages%2Fhome%2Fhome.html
请帮我解决这个问题。
【问题讨论】:
标签: ionic3