com.vaadin.flow.component.littemplate.
Class InjectableLitElementInitializer
- java.lang.Object
-
- com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer
-
- com.vaadin.flow.component.littemplate.InjectableLitElementInitializer
-
public class InjectableLitElementInitializer extends AbstractInjectableElementInitializer
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
Constructors Constructor Description InjectableLitElementInitializer(Element element, Class<? extends Component> templateClass)
Creates an initializer for the
element
.
-
Method Summary
All Methods Modifier and Type Method Description void
accept(Map<String,String> templateAttributes)
protected boolean
isStaticAttribute(String name, String value)
Checks whether the attribute declaration is an attribute with a static value ( so it can be set on the serve side).
-
Methods inherited from class com.vaadin.flow.component.template.internal.AbstractInjectableElementInitializer
getElement
-
-
-
-
Method Detail
-
isStaticAttribute
protected boolean isStaticAttribute(String name, String value)
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
-
-