We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to show a notification with html, but there is no way.
This is my code:
const htmlContent = this.sanitizer.bypassSecurityTrustHtml('<div>Nuevo intento de inicio de sesión desde la web</div><div><button (click)="accept()">Aceptar</button><button (click)="reject()">Rechazar</button></div>'); this.notificationsService.html({ html: htmlContent, type: 'info', override: { timeOut: 0, showProgressBar: false, pauseOnHover: false, clickToClose: false }});
And this is my result:
Can anybody help me?
The text was updated successfully, but these errors were encountered:
The value for html could also be an Angular TemplateRef. Is this a solution for your problem?
Sorry, something went wrong.
No branches or pull requests
I am trying to show a notification with html, but there is no way.
This is my code:
And this is my result:
Can anybody help me?
The text was updated successfully, but these errors were encountered: