Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionWebpack is not used anymore, this method is obsolete and have no replacements.used internally only for testing, to be removed without a replacement.use
UploadHandlerinsteaduseDownloadHandlerinsteaduseUploadHandlerinsteadbase url will not be translated to the theme url anymorebase url will not be translated to the theme url anymoreNo translation of the url will be done in 25
-
Deprecated InterfacesInterfaceDescriptionPolymer template support is deprecated - we recommend you to use
LitTemplateinstead. Read more details from the Vaadin blog.Polymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.useUploadHandlerinstead
-
Deprecated ClassesClassDescriptionUse
BrowserLiveReloadAccessorinsteadPolymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.useUploadHandlerinsteaduseDownloadHandlerinsteadFor browser information users should parse the user-agent using a parsing library like ua-parser/uap-java
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionAs of Vaadin 25, this annotation is deprecated. The theming system has been reworked to use
CssImportto load one or more stylesheets and use mechanisms native to HTML, CSS and React (e.g.@import url("morestyles.css")in CSS).
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionComponent styling can be done entirely with normal "light DOM" CSS.Use
Page.executeJs(String, Object...)instead. This method exists only for binary compatibility.UseElement.callJsFunction(String, Object...)instead. This method exists only for binary compatibility.UseElement.executeJs(String, Object...)instead. This method exists only for binary compatibility.Webpack is not used anymore, this method is obsolete and have no replacements.used internally only for testing, to be removed without a replacement.useWebBrowser.getUserAgent()method to get user-agent stringuse a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()use a parsing library like ua-parser/uap-java to parse the user agent fromWebBrowser.getUserAgent()base url will not be translated to the theme url anymorebase url will not be translated to the theme url anymoreNo translation of the url will be done in 25
-
Deprecated ConstructorsConstructorDescriptionuse
FrontendTools(FrontendToolsSettings)instead, as it simplifies configuring the frontend tools and gives the default values to configuration parameters.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionComponent styling can be done entirely with normal "light DOM" CSS.