treeloom-components
    Preparing search index...

    Function toggleClearButton

    • Show the clear button when there's a value to clear, hide it when the input is empty.

      Parameters

      • hasValue: boolean
      • clearButton: DomItem

      Returns void