We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.
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 appendReturns:
current list of inline objects
-
getInlineBody
Get the list of inline objects to add to body.
Parameters:
position
- prepend or appendReturns:
current list of inline objects
-