com.vaadin.flow.component.

Annotation Type DebounceSettings


  • public @interface DebounceSettings

    Debounce settings for declaratively defined client-side event handlers.

    Since:

    1.0

    Author:

    Vaadin Ltd

    See Also:

    DomEvent

    • Required Element Summary

      Required Elements
      Modifier and Type Required Element and Description
      DebouncePhase[] phases

      Gets an array of debounce phases for which the event should be sent to the server.

      int timeout

      Gets the debounce timeout to use.

    • Element Detail

      • timeout

        public abstract int timeout

        Gets the debounce timeout to use.

        Returns:

        the debounce timeout in milliseconds, or 0 to disable debouncing.

      • phases

        public abstract DebouncePhase[] phases

        Gets an array of debounce phases for which the event should be sent to the server. There must be at least one phase.

        Returns:

        an array of debounce phases

        See Also:

        DebouncePhase