On This Page
A notification / toast.
- Fluent
- Declarative
Notification.builder()
.title("Title")
.text("bla, bla, bla")
.build()
copyThere is no declarative thing for notifications. Just use a notification record as in imperative.
Available properties
This is the list of available properties for a micro frontend component:
| Property | Description | Notes |
|---|---|---|
| id | id for this component | |
| cssClasses | list of css classes | content of the css attribute |
| style | inline style attributes | content of the style attribute |
| title | the notification title | |
| text | the notification text |
You can see a full explanation of those properties at https://vaadin.com/docs/latest/components/notification