Granite Alert
Vaadin global notifications (wrapper for https://github.com/LostInBrittany/granite-alert with themable support)
GraniteAlert is a container for other components, which are rendered inside the alert, and can be used as a way of displaying a global notification. The property level maps to the level attribute of granite-alert, with each level (info, warning, error and success) providing a different style. The property compact enables additional style rules that reduce spacing around the content.
It is also posible to injecting styles directly into the granite-alert shadow DOM, by using style modules (see examples)
Found a bug or have a suggestion? Report it on GitHub
For bug reports, feature suggestions, or questions, please open an issue on GitHub. This makes it easier for us to track and respond efficiently, ensuring you get the best possible support. Your input helps us improve—thank you!
Sample code
GraniteAlert alert = new GraniteAlert(); alert.setCompact(true); alert.setLevel(GraniteAlertLevel.SUCCESS); alert.add(new Span("Success!"));
<dom-module id="custom-granite-alert-theme" theme-for="granite-alert"> <template> <style> :host(.custom) .alert { color: var(--lumo-body-text-color); background-color: white; border-color: grey; } </style> </template> </dom-module>
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Initial release supporting Vaadin 14+ Npm mode
- Released
- 2020-04-13
- Maturity
- TESTED
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 14+
- Vaadin 13 in 1.0.0
- Vaadin 12 in 1.0.0
- Vaadin 11 in 1.0.0
- Vaadin 10 in 1.0.0
- Browser
- Browser Independent
Vaadin Plug-in for Eclipse - Vaadin Add-on Directory
All Vaadin plug-ins for Eclipse in one bundle for offline installsVaadin Plug-in for Eclipse version 6.6.0.201105121206
Renamed from Vaadin Eclipse Integration and updated to Vaadin 6.6.0
Vaadin Plug-in for Eclipse version 6.6.0.201105170944
- Bugfixes
- "Use latest nightly" option (requires network connectivity)
Vaadin Plug-in for Eclipse version 6.6.1.201106031146
Updated to Vaadin 6.6.1
Vaadin Plug-in for Eclipse version 6.6.2.201106151429
Updated to Vaadin 6.6.2
Vaadin Plug-in for Eclipse version 6.6.3.201107220756
null
Vaadin Plug-in for Eclipse version 6.6.4.201108091203
Updated to Vaadin 6.6.4
Vaadin Plug-in for Eclipse version 6.6.5.201108240653
Updated to Vaadin 6.6.5
Vaadin Plug-in for Eclipse version 6.6.6.201109060633
Updated for Vaadin 6.6.6
Vaadin Plug-in for Eclipse version 6.6.7.201109281557
Updated to Vaadin 6.6.7, which contains critical security fixes. You are strongly urged to update to this version!
Vaadin Plug-in for Eclipse version 6.6.8.201110031317
Updated to Vaadin 6.6.8
Vaadin Plug-in for Eclipse version 6.7.0.201110041011
Updated to the new Vaadin 6.7.0
Vaadin Plug-in for Eclipse version 6.7.1.201110180951
Updated to Vaadin 6.7.1
Vaadin Plug-in for Eclipse version 6.7.2.201111151115
Updated to Vaadin 6.7.2
Vaadin Plug-in for Eclipse version 6.7.3.201112131406
null
Vaadin Plug-in for Eclipse version 6.7.5.201202071514
null
Vaadin Plug-in for Eclipse version 6.7.6.201203071353
null
Vaadin Plug-in for Eclipse version 6.7.7.201204122210
null
Vaadin Plug-in for Eclipse version 6.7.8.201204241143
null
Vaadin Plug-in for Eclipse version 6.7.9.201205221112
null
Vaadin Plug-in for Eclipse version 6.8.2.201208080840
null
Vaadin Plug-in for Eclipse version 6.8.2.201208091533
null
Vaadin Plug-in for Eclipse version 6.8.3.201209051212
null
Vaadin Plug-in for Eclipse version 6.8.4.201209281457
Vaadin 6.8.4