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 theelement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Map<String,String> templateAttributes)protected booleanisStaticAttribute(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:AbstractInjectableElementInitializerChecks whether the attribute declaration is an attribute with a static value ( so it can be set on the serve side).- Specified by:
isStaticAttributein classAbstractInjectableElementInitializer- Parameters:
name- the template attribute namevalue- the template attribute value- Returns:
- whether the attribute declaration is an attribute with a static value
-
-