InstantSearch
/
Angular
/
V4
/
API reference
Sep 05, 2024
Ais-Panel | Angular InstantSearch V4 (Deprecated)
Deprecated content
Angular InstantSearch is deprecated.
Please use InstantSearch.js instead. For more information, see Migrating from Angular InstantSearch.
Signature
Import
Copy
1
2
3
4
5
6
7
8
import { NgAisPanelModule } from 'angular-instantsearch';
@NgModule({
imports: [
NgAisPanelModule,
],
})
export class AppModule {}
1. Follow additional steps in Optimize build size to ensure your code is correctly bundled.
2. This imports all the widgets, even the ones you don’t use. Read the Getting started guide for more information.
About this widget
The panel
widget wraps other widgets in a consistent panel design.
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
Optional
Type:
string
Displays text before the wrapped element
Copy
1
2
3
<ais-panel
header="Header of the widget"
></ais-panel>
footer
Optional
Type:
string
Displays text after the wrapped element
Copy
1
2
3
<ais-panel
footer="Footer of the widget"
></ais-panel>
Did you find this page helpful?