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 multipleInline
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
-