@FunctionalInterface public interface DependencyFilter extends Serializable
@StyleSheet, and *
@JavaScript.ServiceInitEvent.addDependencyFilter(DependencyFilter)| Modifier and Type | Method and Description |
|---|---|
List<Dependency> |
filter(List<Dependency> dependencies,
VaadinService service)
Filters the list of dependencies and returns a (possibly) updated
version.
|
List<Dependency> filter(List<Dependency> dependencies, VaadinService service)
Called whenever dependencies are about to be sent to the client side for loading and when templates are parsed on the server side.
dependencies - the collected dependencies, possibly already modified by other
filtersservice - a Vaadin serviceCopyright © 2021. All rights reserved.