Class InjectablePolymerElementInitializer

java.lang.Object
com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer
com.vaadin.flow.component.polymertemplate.InjectablePolymerElementInitializer
All Implemented Interfaces:
Consumer<Map<String,String>>

@Deprecated public class InjectablePolymerElementInitializer extends com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer
Deprecated.
InjectableLitElementInitializer should be used for Lit templates since polymer support is deprecated, we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
Initialize a polymer template element with data.

For internal use only. May be renamed or removed in a future release.

Author:
Vaadin Ltd
  • Constructor Details

    • InjectablePolymerElementInitializer

      public InjectablePolymerElementInitializer(com.vaadin.flow.dom.Element element, Class<? extends com.vaadin.flow.component.Component> templateClass)
      Deprecated.
      Creates an initializer for the element.
      Parameters:
      element - element to initialize
      templateClass - the class of the template component
  • Method Details

    • isStaticAttribute

      protected boolean isStaticAttribute(String name, String value)
      Deprecated.
      Specified by:
      isStaticAttribute in class com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer