com.vaadin.flow.server.
Class InlineTargets
- java.lang.Object
-
- com.vaadin.flow.server.InlineTargets
-
-
Constructor Summary
Constructors Constructor and Description InlineTargets()
-
Method Summary
All Methods Modifier and Type Method and Description void
addInlineDependency(Inline inline, VaadinRequest request)
Deprecated.
useaddInlineDependency(Inline, VaadinService)
insteadvoid
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.
-
-
-
Method Detail
-
addInlineDependency
@Deprecated public void addInlineDependency(Inline inline, VaadinRequest request)
Deprecated. use
addInlineDependency(Inline, VaadinService)
insteadInline contents from classpath file to head of initial page.
Parameters:
inline
- inline dependency to add to bootstrap pagerequest
- the request that is handled
-
addInlineDependency
public void addInlineDependency(Inline inline, VaadinService service)
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
public List<elemental.json.JsonObject> getInlineHead(Inline.Position position)
Get the list of inline objects to add to head.
Parameters:
position
- prepend or appendReturns:
current list of inline objects
-
getInlineBody
public List<elemental.json.JsonObject> getInlineBody(Inline.Position position)
Get the list of inline objects to add to body.
Parameters:
position
- prepend or appendReturns:
current list of inline objects
-
-