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.
Annotation Type ClientCallable
-
@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface ClientCallable
Publishes the annotated method so it can be invoked from the client side using the notation
this.$server.method()
. The method will return a Promise which will be resolved with either the return value from the server or a generic rejection if the server-side method throws an exception.Since:
1.0
Author:
Vaadin Ltd
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element and Description DisabledUpdateMode
value
Controls RPC for the method from the client side to the server side when the element is disabled.
-
-
-
Element Detail
-
value
public abstract DisabledUpdateMode value
Controls RPC 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
-
-