【发布时间】:2018-09-07 17:08:42
【问题描述】:
我必须在某些情况下打开弹出框。我怎样才能做到这一点?
<div class="btn btn-outline-secondary" *ngFor="let category of categories"
[ngbPopover]="tipContent"
popoverClass="change-category-info"
placement="bottom"
tooltipClass="change-category-tooltip">{{category}}</div>
在此实现中,弹出窗口始终在单击后打开。我想在条件下打开这个弹出窗口,例如,如果
this.isChanged = true
【问题讨论】:
标签: angular popover ng-bootstrap