Docs

Documentation versions (currently viewingVaadin 24)

Polymer support is deprecated. Use Lit templates instead.

Polymer Templates

Polymer support is deprecated; use Lit templates instead.
Note
Commercial feature

A commercial Vaadin subscription is required to use Polymer Templates in your project.

Polymer support has been deprecated since Vaadin 18 (released in November 2020), in favor of faster and simpler Lit templates. The built-in support for Polymer templates has been removed and is only available as a commercial add-on. However, a free conversion tool is available to assist in converting Polymer templates to Lit.

Read more about setting up the commercial Polymer templates addon in the Upgrade Guide.

Topics

Create a Simple Component Using Template API
Polymer support is deprecated; use Lit templates instead.
Combining Templates & Binders
Polymer support is deprecated; use Lit templates instead.
Dynamically Add Server-Side Components to Templates
Polymer support is deprecated; use Lit templates instead.
Handling User Events
How to use component API and DOM events via the Element API.
Binding Model Data
How to bind text content, property values, and attribute values.
Using Model Beans
Polymer support is deprecated; use Lit templates instead.
Using Model Encoders
Polymer support is deprecated; use Lit templates instead.
Creating Content Dynamically from a List
Polymer support is deprecated; use Lit templates instead.
Using Parent Layout
Polymer support is deprecated; use Lit templates instead.