Interface WithClearButtonMixin<SELF extends com.vaadin.flow.component.shared.HasClearButton>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default SELF withClearButtonVisible​(boolean state)
      Chains HasClearButton.setClearButtonVisible(boolean) and returns itself.
      • Methods inherited from interface com.vaadin.flow.component.shared.HasClearButton

        isClearButtonVisible, setClearButtonVisible
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
    • Method Detail

      • withClearButtonVisible

        default SELF withClearButtonVisible​(boolean state)
        Chains HasClearButton.setClearButtonVisible(boolean) and returns itself.
        Parameters:
        state - New visibility state for the clear button.
        Returns:
        This.