We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.page.
Package com.vaadin.flow.component.page
Annotation Interface Inline
@Retention(RUNTIME)
@Target(TYPE)
@Documented
@Repeatable(Container.class)
@Inherited
public @interface Inline
Defines files to inline into the initial page.
Since:
1.0
Author:
Vaadin Ltd
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
Internal annotation to enable use of multiple
Inline
annotations.static enum
Inline position enum.
static enum
File content wrapping enum.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionInline position of element.
Target element to inline file contents to.
The element type to inline as.
-
Element Details
-
value
String valueClasspath file to inline into target element.
Returns:
file to inline
-
-
-
target
TargetElement targetTarget element to inline file contents to.
Returns:
inline target
Default:
HEAD
-
position
Inline.Position positionInline position of element. Default appends to target element.
Returns:
inline position
Default:
APPEND
-
wrapping
Inline.Wrapping wrappingThe element type to inline as. Default is automatic which tries to figure out the correct type by file ending.
Returns:
inline element type
Default:
AUTOMATIC
-