com.vaadin.flow.component.internal.
Class DependencyList
java.lang.Object
com.vaadin.flow.component.internal.DependencyList
All Implemented Interfaces:
List for storing dependencies/files (JavaScript, Stylesheets) to be loaded and included on the client side.
Tracks previously sent URLs and doesn't send them again.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Dependency dependency) Adds the given dependency to be loaded by the client side.
void
Clears the list of dependencies which should be sent to the client.
Returns a list of dependencies which should be sent to the client.
-
Constructor Details
-
DependencyList
public DependencyList()Creates a new instance.
-
-
Method Details
-
getPendingSendToClient
Returns a list of dependencies which should be sent to the client.
Returns:
a list containing the dependencies which should be sent
-
clearPendingSendToClient
public void clearPendingSendToClient()Clears the list of dependencies which should be sent to the client.