You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.polymertemplate.

Annotation Type RepeatIndex

  • @Deprecated
    @Retention(RUNTIME)
    @Target(PARAMETER)
    @Documented
    public @interface RepeatIndex
    Deprecated.
    dom-repeat is not support by Lit templates but you may still use @EventData("some_data") directly to receive data from the client side. Polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.

    Allows to receive index of an element in dom-repeat Polymer template section. Can be applied on parameters of int and Integer types. This is a shorthand for @EventData("event.model.index"), for more information, refer to EventData.

    Since:

    1.0

    Author:

    Vaadin Ltd