We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.polymertemplate.
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:
-
-
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
-
-