Hiding coveoresultlist until facets are selected
I have a requirement to hide the coveoresultlist component until one or more facet values are selected. Any suggestions?
I recommend you to hide the results list with CSS by default, then write an event handler for the `doneBuildingQuery` event that will display the results list (by changing the CSS classes, or adding inline styles) only when one of your facet has selected values: https://coveo.github.io/search-ui/components/facet.html#getselectedvalues
Do not forget to revert your CSS changes when the user unselect its facet values.
I would instead recommend to not execute the first query using the `autoTriggerQuery` attribute of the `SearchInterface` component as seen here.
This will make it so the first query will not be automatically executed. Once any change is done, it will execute a query like usual.
I think this will give you the behavior that you need.