Package com.vaadin.flow.component
Annotation Type ClientCallable
-
@Retention(RUNTIME) @Target(METHOD) @Documented public @interface ClientCallable
Publishes the annotated method so it can be invoked from the client side using the notationthis.$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 Description DisabledUpdateMode
value
Controls RPC for the method from the client side to the server side when the element is disabled.
-
-
-
Element Detail
-
value
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
-
-