com.vaadin.flow.component.littemplate.
Class InjectableLitElementInitializer
java.lang.Object
com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer
com.vaadin.flow.component.littemplate.InjectableLitElementInitializer
Initialize a lit template element with data.
For internal use only. May be renamed or removed in a future release.
Since:
Author:
Vaadin Ltd
-
Constructor Summary
ConstructorsConstructorDescriptionInjectableLitElementInitializer
(Element element, Class<? extends Component> templateClass) Creates an initializer for the
element
. -
Method Summary
Methods inherited from class com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer
getElement
-
Constructor Details
-
InjectableLitElementInitializer
Creates an initializer for the
element
.Parameters:
element
- element to initializetemplateClass
- the class of the template component
-
-
Method Details
-
accept
-
isStaticAttribute
Description copied from class:
AbstractInjectableElementInitializer
Checks whether the attribute declaration is an attribute with a static value ( so it can be set on the serve side).
Specified by:
isStaticAttribute
in classAbstractInjectableElementInitializer
Parameters:
name
- the template attribute namevalue
- the template attribute valueReturns:
whether the attribute declaration is an attribute with a static value
-