Package com.vaadin.flow.server
Class InlineTargets
- java.lang.Object
-
- com.vaadin.flow.server.InlineTargets
-
-
Constructor Summary
Constructors Constructor Description InlineTargets()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddInlineDependency(Inline inline, VaadinRequest request)Deprecated.useaddInlineDependency(Inline, VaadinService)insteadvoidaddInlineDependency(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.useaddInlineDependency(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 append- Returns:
- 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 append- Returns:
- current list of inline objects
-
-