HeaderTags - Vaadin Add-on Directory
Easily add your own tags to the generated for your UI classUsing 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 { ... }
Usage exampleSource 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