【发布时间】:2020-01-19 20:00:51
【问题描述】:
我正在尝试在ngx-bootstrap 中的弹出框标题中添加换行符。
这可能吗?
下面的换行标记以文本形式出现,由于某种原因,ng-template 似乎在弹出框正文中(不清楚如何添加标题)。
<ng-template #popTemplate>Just another: {{content}}</ng-template>
<button type="button" class="btn btn-warning"
[popover]="popTemplate" popoverTitle="Template ref <BR> content inside">
TemplateRef binding
</button>
【问题讨论】:
标签: angular popover ngx-bootstrap