Package com.vaadin.flow.server
Class InlineTargets
java.lang.Object
com.vaadin.flow.server.InlineTargets
Data holder class for collected
Inline
annotations to be added to the
initial page.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInlineDependency
(Inline inline, VaadinService service) Inline contents from classpath file to head of initial page.List<elemental.json.JsonObject>
getInlineBody
(Inline.Position position) Get the list of inline objects to add to body.List<elemental.json.JsonObject>
getInlineHead
(Inline.Position position) Get the list of inline objects to add to head.
-
Constructor Details
-
InlineTargets
public InlineTargets()
-
-
Method Details
-
addInlineDependency
Inline contents from classpath file to head of initial page.- Parameters:
inline
- inline dependency to add to bootstrap pageservice
- the service that can find the dependency
-
getInlineHead
Get the list of inline objects to add to head.- Parameters:
position
- prepend or append- Returns:
- current list of inline objects
-
getInlineBody
Get the list of inline objects to add to body.- Parameters:
position
- prepend or append- Returns:
- current list of inline objects
-