【发布时间】:2020-09-08 01:01:35
【问题描述】:
我有一个 Ionic 项目,其中有一个 ion-content 中的项目列表:
<ion-content padding #myContent>
<!-- lots of data -->
</ion-content>
Ion-footer 有一个点击后执行任务的下一步按钮。
<ion-footer>
<div *ngIf="nextButtonHolder">
<div *ngIf="nextButton" class="next" (click)="next()">
</div>
</div>
</ion-footer>
下一个类是与内容重叠的固定 div
.next{
position: fixed;
bottom: 0;
right: 0;
z-index: 10; //overlapping content
height: 50%;
width: 100%;
}
如何绑定“下一个”重叠 div(除了可以使用函数 next() 进行点击之外)以滚动离子内容,而不将 next() 分配给离子内容本身?
【问题讨论】:
标签: javascript css angular typescript ionic-framework