Home > widget-integration > InstantSearchService > areAllBlocksEmpty
InstantSearchService.areAllBlocksEmpty() method
Check if all visible suggestion blocks are empty.
Signature:
protected areAllBlocksEmpty(data: SuggestionResponse, searchSettings: SearchSettings$1): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
Suggestion data | |
|
searchSettings |
Search settings |
Returns:
boolean
True if all blocks are empty