# SearchResultViewToggle
The component SearchResultViewToggle
toggles the views.
# Properties
HTMLElement
BaseComponent
Element tag:
cm4ap-search-result-view-toggle
# Parameter
# Parameters in the Layout
Name | Type | Description |
---|---|---|
hideByEmptyResult | boolean default: false | Defines whether the component should be hidden if the search contains no results. |
searchActor | SearchActor | The actor returns the search results. If the search result is empty, the component is hidden. |
toggleActor | LabeledToggleActor | The actor is required to pass on the change of switching state to and receive it from the component. |
searchSetActor | SearchSetActor | The actor provides default view and allowed views. |