如何手动触发关闭 ng-bootstrap popover
How to manual trigger close ng-bootstrap popover
如何设置弹出框在模糊时不自动关闭?
我只想手动关闭这个弹出框
https://stackblitz.com/edit/angular-xt18mj
有什么建议吗?
您需要添加:[autoClose]="false"
示例:
<button type="button" class="btn mr-2" placement="bottom" [autoClose]="false"
ngbPopover="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." popoverTitle="Popover on bottom">
button 1
</button>
更多信息:Documentation
如何设置弹出框在模糊时不自动关闭? 我只想手动关闭这个弹出框
https://stackblitz.com/edit/angular-xt18mj
有什么建议吗?
您需要添加:[autoClose]="false"
示例:
<button type="button" class="btn mr-2" placement="bottom" [autoClose]="false"
ngbPopover="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." popoverTitle="Popover on bottom">
button 1
</button>
更多信息:Documentation