Annotation Type EventHandler
-
@Deprecated @Retention(RUNTIME) @Target(METHOD) @Documented public @interface EventHandler
Deprecated.Event handlers are not supported by Lit templates. Add a corresponding DOM listener from server side API instead or fire a custom event from client side template. Also you may handle an event directly on the client side and the server side may be called from this handler viathis.$server._some_method
. Polymer template support is deprecated - we recommend you to useLitTemplate
instead. Read more details from the Vaadin blog.Publishes the annotated method so it can be invoked from the client side as template event handlers.- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
EventData
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description DisabledUpdateMode
value
Deprecated.Controls event handling for the method from the client side to the server side when the element is disabled.
-
-
-
Element Detail
-
value
DisabledUpdateMode value
Deprecated.Controls event handling for the method from the client side to the server side when the element is disabled.- Returns:
- the property update mode for disabled element
- Default:
- com.vaadin.flow.dom.DisabledUpdateMode.ONLY_WHEN_ENABLED
-
-