HeaderTags
Easily add your own tags to the <head> generated for your UI class
Using this add-on, you can define tags to add to the host page by adding annotation to your UI class.
Annotations are provided for generic and tags as well as a specific annotation for adding a viewport meta tag. The structure is extensible to allow you to define your own tags and annotations if necessary.
As an example, you can write something like this:
@Viewport("width=device-width, initial-scale=1") @Link(rel = "example", href = "about:blank") public class MyUI extends UI { ... }
Links
Compatibility
1.0.0 | 1.1.0 | 1.2.0 | 2.0 | |
---|---|---|---|---|
(24.4) | ||||
(24.3) | ||||
(24.2) | ||||
(24.1) | ||||
(24) | ||||
(23) | ||||
(22) | ||||
(21) | ||||
(20) | ||||
(19) | ||||
(18) | ||||
(17) | ||||
(16) | ||||
(15) | ||||
(14) | ||||
(13) | ||||
(12) | ||||
(11) | ||||
(10) | ||||
8.0-8.21 | Y | |||
-8.20 | Y | |||
-8.19 | Y | |||
-8.18 | Y | |||
-8.17 | Y | |||
-8.16 | Y | |||
-8.15 | Y | |||
-8.14 | Y | |||
-8.13 | Y | |||
-8.12 | Y | |||
-8.11 | Y | |||
-8.10 | Y | |||
-8.9 | Y | |||
-8.8 | Y | |||
-8.7 | Y | |||
-8.6 | Y | |||
-8.5 | Y | |||
-8.4 | Y | |||
-8.3 | Y | |||
-8.2 | Y | |||
-8.1 | Y | |||
-8.0 | Y | |||
7.1-7.7 | Y | Y | Y | |
-7.6 | Y | Y | Y | |
-7.5 | Y | Y | Y | |
-7.4 | Y | Y | Y | |
-7.3 | Y | Y | Y | |
-7.2 | Y | Y | Y | |
-7.1 | Y | Y | Y | |
(7.0) | ||||
(6.8) | ||||
(6.7) | ||||
(6.6) | ||||
(6.5) | ||||
(6.4) | ||||
(6.3) | ||||
(6.2) | ||||
(6.1) | ||||
(6.0) |
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
Update to Vaadin Framework 8.0
Use VaadinServiceInitListener
to automatically init the add-on if it's on the classpath
Explicitly support and use @Repeatable
from Java 8
- Released
- 2017-03-03
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 8.0+
- Vaadin 7.1+ in 1.2.0
- Browser
- Browser Independent
HeaderTags - Vaadin Add-on Directory
Easily add your own tags to the generated for your UI classSource Code
HeaderTags version 1.0.0
Initial release
HeaderTags version 1.1.0
Make it possible to dynamically generate a value using AttributeGenerator
HeaderTags version 1.2.0
Redesign generation logic to use annotated interfaces
HeaderTags version 2.0
Update to Vaadin Framework 8.0
Use `VaadinServiceInitListener` to automatically init the add-on if it's on the classpath
Explicitly support and use `@Repeatable` from Java 8