标签: javascript angular typescript ng-bootstrap
Ng-bootstrap自定义组件模态,它在按钮单击(click)=“ modalDefault.show();”中起作用我需要在ts中打开
<app-modal #modalDefault> <div class="app-modal-header"> </div> </app-modal> this.modalRef = this.modalService.open(this.modalDefault);
引荐链接https://stackoverflow.com/a/41037771/3215427