Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngx-modialog vex className have no effect #429

Open
1456118242 opened this issue Apr 5, 2018 · 1 comment
Open

ngx-modialog vex className have no effect #429

1456118242 opened this issue Apr 5, 2018 · 1 comment

Comments

@1456118242
Copy link

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
Copy link
Author

@shlomiassaf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant