Directory

← Back

HeaderTags

Easily add your own tags to the <head> generated for your UI class

Author

Contributors

Rating

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 { ... }

Compatibility

1.0.01.1.01.2.02.0
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
8.0-8.10Y
7.1-7.7YYY
(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

Redesign generation logic to use annotated interfaces

Released
2014-11-16
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.1+
Vaadin 8.0+ in 2.0
Browser
N/A
Online