Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @Meta in the same context as e.g. @Viewport #3248

Closed
Legioth opened this issue Jan 3, 2018 · 0 comments
Closed

Support @Meta in the same context as e.g. @Viewport #3248

Legioth opened this issue Jan 3, 2018 · 0 comments

Comments

@Legioth
Copy link
Member

Legioth commented Jan 3, 2018

Add a repeatable @Meta annotation that can be used in the same locations as e.g. @Viewport.

Using this annotation, the custom tags defined in https://github.com/vaadin/beverage-starter-flow/blob/fd3807d63301436070e5a2a520fb352524163ae3/src/main/java/com/vaadin/starter/beveragebuddy/ApplicationServiceInitListener.java#L20-L23 could be set simply as this:

@Meta(name="apple-mobile-web-app-capable", content="yes")
@Meta(name="apple-mobile-web-app-status-bar-style", content="black")
public class MainLayout ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants