Class InjectablePolymerElementInitializer

  • All Implemented Interfaces:
    Consumer<Map<String,​String>>

    @Deprecated
    public class InjectablePolymerElementInitializer
    extends 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.

    Since:
    Author:
    Vaadin Ltd
    • Constructor Detail

      • InjectablePolymerElementInitializer

        public InjectablePolymerElementInitializer​(Element element,
                                                   Class<? extends Component> templateClass)
        Deprecated.
        Creates an initializer for the element.
        Parameters:
        element - element to initialize
        templateClass - the class of the template component