Angular6+ngx-bootstrap之模态框的使用(三)

方法一: app.module.ts import {ModalModule} from 'ngx-bootstrap/modal'; ModalModule.forRoot() app.component.html <button class="btn btn-outline-primary" (click)="myModal.show()">模态框</button> <div bsModal
相关文章
相关标签/搜索