treeloom-components
Preparing search index...
clearableInput
toggleClearButton
Function toggleClearButton
toggleClearButton
(
hasValue
:
boolean
,
clearButton
:
DomItem
)
:
void
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
treeloom-components
Loading...
Show the clear button when there's a value to clear, hide it when the input is empty.