com.vaadin.annotations
Annotation Type Viewport


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface Viewport

Defines a viewport tag that will be added to the HTML of the host page of a UI class.

If you want to dynamically provide different viewport values for different browser, you should use ViewportGeneratorClass instead.

Since:
7.4
Author:
Vaadin Ltd

Required Element Summary
 java.lang.String value
          Gets the viewport tag content.
 

Element Detail

value

public abstract java.lang.String value
Gets the viewport tag content.

Returns:
the viewport tag content


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.