API Reference
/
Angular InstantSearch
/
ais-panel
May. 12, 2022
ais-panel
About this widget
The panel
widget wraps other widgets in a consistent panel design. It also reacts by adding a CSS class when the widget no longer can refine, for example, when a refinementList
becomes empty because of the current search results.
Examples
Copy
1
2
3
4
5
6
<ais-panel
header="Header of the widget"
footer="Footer of the widget"
>
<!-- a widget -->
</ais-panel>
Props
header
|
type: string
Displays text before the wrapped element |
||
Copy
|
|||
footer
|
type: string
Displays text after the wrapped element |
||
Copy
|
Did you find this page helpful?