ngx-bootstrap Popover动态内容不起作用

时间:2019-02-03 19:21:32

标签: angular ngx-bootstrap

我正在我的angular 7项目中尝试使用ngx-bootstrap popover。我在package.json文件中有“ bootstrap”:“ ^ 3.4.0”和“ ngx-bootstrap”:“ ^ 3.2.0”。当我尝试在HTML页面中包含以下代码

sns.heatmap(data, annot=True, fmt='??')

和component.ts文件

<div>
     <button type="button" class="btn btn-info"
      [popover]="content" [popoverTitle]="title">
       Simple binding
     </button>
</div>

但是当我单击按钮而不是内容时,我会在弹出窗口中显示标题。 apparently

0 个答案:

没有答案
相关问题