File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
src/app/views/notifications Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- import { Component , ViewChild } from '@angular/core' ;
2
- import { ModalDirective } from 'ngx-bootstrap/modal' ;
1
+ import { Component , ViewChild } from '@angular/core' ;
2
+ import { ModalDirective } from 'ngx-bootstrap/modal' ;
3
3
4
4
@Component ( {
5
5
templateUrl : 'modals.component.html'
6
6
} )
7
7
export class ModalsComponent {
8
- public myModal ;
9
- public largeModal ;
10
- public smallModal ;
11
- public primaryModal ;
12
- public successModal ;
13
- public warningModal ;
14
- public dangerModal ;
15
- public infoModal ;
8
+ @ ViewChild ( 'myModal' ) public myModal : ModalDirective ;
9
+ @ ViewChild ( 'largeModal' ) public largeModal : ModalDirective ;
10
+ @ ViewChild ( 'smallModal' ) public smallModal : ModalDirective ;
11
+ @ ViewChild ( 'primaryModal' ) public primaryModal : ModalDirective ;
12
+ @ ViewChild ( 'successModal' ) public successModal : ModalDirective ;
13
+ @ ViewChild ( 'warningModal' ) public warningModal : ModalDirective ;
14
+ @ ViewChild ( 'dangerModal' ) public dangerModal : ModalDirective ;
15
+ @ ViewChild ( 'infoModal' ) public infoModal : ModalDirective ;
16
16
}
You can’t perform that action at this time.
0 commit comments