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() in template methods.

    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