Home > widget-integration > InstantSearchController > toggleResetButton

InstantSearchController.toggleResetButton() method

Toggle reset button visibility.

Signature:

protected toggleResetButton(input: HTMLInputElement, show: boolean): void;

Parameters

Parameter

Type

Description

input

HTMLInputElement

Input element

show

boolean

Whether to show

Returns:

void