Annotation Interface ModelItem
Deprecated.
Allows to receive Model class item from the client side instead of a index of
an element in dom-repeat Polymer template section, or string representation.
Can be applied on parameters with classes found in the TemplateModel.
This is by default a shorthand for @EventData("event.model.item")
that works with List type model items. For other Model items define
the value to be the methodName e.g. for setSubItem(...) use
@ModelItem("subItem").
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueDeprecated.Path value for ModelItem.- Returns:
- Given Path or default value
- Default:
"event.model.item"
-
@EventData("some_data")to receive data from the client side or@Idmapping and the component API or the element API with property synchronization instead. TPolymer template support is deprecated - we recommend you to useLitTemplateinstead. Read more details from the Vaadin blog.