ng-modal Questions

7

Solved

we just upgraded our application to angular 7 and we noticed that all ngBootstrap modals have now a default autofocus on the close button like the following picture. here is my code: html modal...
Dissent asked 4/12, 2018 at 13:22

5

Solved

I have an Angular2 app with a button that can add another loan to my loans. My *ngFor is pretty simple also: <div *ngFor="let loan of myLoans"> <label>{{loan.name}}</label> &l...
Pantagruel asked 27/4, 2017 at 17:27

1

I need to mock a NgbModal to do some unit tests in angular, but I have no idea how to do this. This is my function: openModal(deviceID: string, productID: string){ const modalRef = this.modalSer...
Laudanum asked 30/8, 2017 at 11:18

1

Let's say i have such modal template: <div class="modal-header"> <h3 [innerHtml]="header"></h3> </div> <div class="modal-body"> <ng-content></ng-content&g...
Coiffeur asked 4/6, 2017 at 21:46
1

© 2022 - 2024 — McMap. All rights reserved.