How to add custom angular 4 components in a bootbox dialog? -
i trying display user information in bootbox dialog. there custom component need display within dialog.
var dialog = bootbox.dialog({ title: 'user information table', message: `<div class="myclass"><app-charts></app-charts></div>`, buttons: { cancel: { label: "cancel!", classname: 'btn-danger', callback: function(){ } }) the template not compiled , hence being displayed normal tag in bootbox. there way display angular 4 component inside bootbox dialog?
Comments
Post a Comment