File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed
Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 11< div class ="container ">
22 < h1 > Ngx Bootstrap Dialog</ h1 >
33 < h2 > {{ environment.env.npm_package_version }}</ h2 >
4+
45 < div class ="row ">
56 < div class ="col ">
67 < button class ="btn btn-primary " (click) ="openDialogAlert() ">
Original file line number Diff line number Diff line change 11import { NgModule } from '@angular/core' ;
22import { BrowserModule } from '@angular/platform-browser' ;
33
4- import {
5- NGX_BOOTSTRAP_ALERT_DEFAULT_OPTIONS ,
6- NGX_BOOTSTRAP_CONFIRM_DEFAULT_OPTIONS ,
7- } from './../../projects/ngx-bootstrap-dialog/src/lib/ngx-bootstrap-dialog.config' ;
84import { NgxBootstrapDialogModule } from './../../projects/ngx-bootstrap-dialog/src/lib/ngx-bootstrap-dialog.module' ;
95import { AppComponent } from './app.component' ;
106
117@NgModule ( {
128 declarations : [ AppComponent ] ,
139 imports : [ BrowserModule , NgxBootstrapDialogModule ] ,
14- providers : [
15- {
16- provide : NGX_BOOTSTRAP_ALERT_DEFAULT_OPTIONS ,
17- useValue : { confirmButtonClass : 'btn btn-danger' } ,
18- } ,
19- {
20- provide : NGX_BOOTSTRAP_CONFIRM_DEFAULT_OPTIONS ,
21- useValue : { confirmButtonText : 'CONFIRM' } ,
22- } ,
23- ] ,
2410 bootstrap : [ AppComponent ] ,
2511} )
2612export class AppModule { }
You can’t perform that action at this time.
0 commit comments