com.vaadin.flow.component.page.
Annotation Type Inline
-
@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Repeatable(value=Inline.Container.class) public @interface Inline
Defines files to inline into the initial page.
Since:
1.0
Author:
Vaadin Ltd
-
-
Required Element Summary
Required Elements Modifier and Type Required Element and Description String
value
Classpath file to inline into target element.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element and Description Inline.Position
position
Inline position of element.
TargetElement
target
Target element to inline file contents to.
Inline.Wrapping
wrapping
The element type to inline as.
-
-
-
Element Detail
-
value
public abstract String value
Classpath file to inline into target element.
Returns:
file to inline
-
-
-
target
public abstract TargetElement target
Target element to inline file contents to.
Returns:
inline target
Default:
com.vaadin.flow.component.page.TargetElement.HEAD
-
-
-
position
public abstract Inline.Position position
Inline position of element. Default appends to target element.
Returns:
inline position
Default:
com.vaadin.flow.component.page.Inline.Position.APPEND
-
-
-
wrapping
public abstract Inline.Wrapping wrapping
The element type to inline as. Default is automatic which tries to figure out the correct type by file ending.
Returns:
inline element type
Default:
com.vaadin.flow.component.page.Inline.Wrapping.AUTOMATIC
-
-