treeloom-components
    Preparing search index...

    Function clearInput

    • Clear the input's real value and its attributes (so it stays correct across a re-render), hide the clear button, and give focus back to the input - matching the common "search box" convention.

      Parameters

      • inputItem: DomItem
      • clearButton: DomItem

      Returns void