API Reference
/
Angular InstantSearch Widgets
/
ais-panel
Sep. 02, 2020
ais-panel
You are reading the documentation for Angular InstantSearch v3, which is in beta. You can find the v2 documentation here.
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
|