Package com.vaadin.flow.component.page
Annotation Type Inline
-
@Retention(RUNTIME) @Target(TYPE) @Documented @Repeatable(Container.class) public @interface Inline
Defines files to inline into the initial page.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Inline.PositionpositionInline position of element.TargetElementtargetTarget element to inline file contents to.Inline.WrappingwrappingThe element type to inline as.
-
-
-
Element Detail
-
value
String value
Classpath file to inline into target element.- Returns:
- file to inline
-
-
-
target
TargetElement target
Target element to inline file contents to.- Returns:
- inline target
- Default:
- com.vaadin.flow.component.page.TargetElement.HEAD
-
-
-
position
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
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
-
-