I have an Angular2 App that can show a modal. For that i call an injectable method inside a Js class:
@Injectable()
public showErrorDialog(errorMessage:string, isError:boolean) {
this.modal.alert()
.size('sm')
.showClose(true)
.title("Modal Title")
.body(errorMessage)
.open();
}
Now i would customize body of modal, by changing background, and text style. How can i do?