LitTemplateInitializer
for LitTemplate
components. Polymer template support is deprecated - we recommend
you to use LitTemplate
instead. Read more details from
the
Vaadin blog.@Deprecated public class TemplateInitializer extends Object
For internal use only. May be renamed or removed in a future release.
Constructor and Description |
---|
TemplateInitializer(PolymerTemplate<?> template,
TemplateParser parser,
VaadinService service)
Deprecated.
Creates a new initializer instance.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getTwoWayBindingPaths()
Deprecated.
Gets a set of two way binding paths encountered in the template.
|
static Optional<Class<? extends Component>> |
getUsesClass(Class<? extends PolymerTemplate<?>> templateType,
String tagName)
Deprecated.
Looks for a component class with the given tag name among the classes
used by the given polymer template class.
|
void |
initChildElements()
Deprecated.
Initializes child elements.
|
public TemplateInitializer(PolymerTemplate<?> template, TemplateParser parser, VaadinService service)
template
- a template to initializeparser
- a template parser instanceservice
- the related servicepublic void initChildElements()
public Set<String> getTwoWayBindingPaths()
public static Optional<Class<? extends Component>> getUsesClass(Class<? extends PolymerTemplate<?>> templateType, String tagName)
@Uses
annotation.templateType
- the polymer template typetagName
- the tag name to look forCopyright © 2021. All rights reserved.