Package com.vaadin.copilot
Class CopilotLoader
java.lang.Object
com.vaadin.copilot.CopilotLoader
- All Implemented Interfaces:
TypeScriptBootstrapModifier
,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
modify
(List<String> bootstrapTypeScript, boolean productionMode, ThemeDefinition themeDefinition) Modifies the bootstrap typescript by mutating the parameter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.server.frontend.TypeScriptBootstrapModifier
modify
-
Constructor Details
-
CopilotLoader
public CopilotLoader()
-
-
Method Details
-
modify
public void modify(List<String> bootstrapTypeScript, boolean productionMode, ThemeDefinition themeDefinition) Description copied from interface:TypeScriptBootstrapModifier
Modifies the bootstrap typescript by mutating the parameter.- Specified by:
modify
in interfaceTypeScriptBootstrapModifier
- Parameters:
bootstrapTypeScript
- the input typescript split into linesproductionMode
- true if building for production, false otherwisethemeDefinition
- the theme used by the application
-