shlomiassaf / ngx-modialog

Modal / Dialog for Angular
http://shlomiassaf.github.io/ngx-modialog
MIT License
686 stars 241 forks source link

ngx-modialog vex className have no effect #429

Open 1456118242 opened 6 years ago

1456118242 commented 6 years ago

1

const componentContext = { message: 'Hello Modal' }; const dialogRef = this.modal .open(RoutePrintSummaryComponent, overlayConfigFactory(componentContext));

export class RoutePrintSummaryComponent implements OnInit{ theme: VEXBuiltInThemes = 'default'; constructor(public dialog:DialogRef){ // this.dialog.context.dialogClass = 'modal-dialog modal-lg'; this.dialog.context.className = this.theme; this.dialog.context.contentClassName = "vex-content"; this.dialog.context.overlayClassName = "vex-overlay"; }

ngOnInit(){

} onClose(){

} onOk(): void { this.dialog.close('Ok'); } }

1456118242 commented 6 years ago

@shlomiassaf