Hello, how can I add html content to a Vaadin 10 Notification?
For example: Notification.show("some html <br> code");
Hi, you can use the constructor that accepts Component
s and the Html
class:
new Notification(
new Html("<div>Show me some <code>code</code>!</div>")
).open();