You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: content/widgets/panel.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ althtml2: |
40
40
classes:
41
41
- name: .ais-Panel
42
42
description: the root div of the Panel
43
+
- name: .ais-Panel--noRefinement
44
+
description: the root div of the Panel with no refinements
43
45
- name: .ais-Panel--collapsible
44
46
description: the root div of the collapsible Panel
45
47
- name: .ais-Panel--collapsed
@@ -59,6 +61,8 @@ options:
59
61
description: Text to put before the widget
60
62
- name: footer
61
63
description: Text to put after the widget
62
-
- name: collapsible
63
-
description: Makes the panel collapsible
64
+
- name: hidden
65
+
description: Function that is called on each render to determine if the panel has to be hidden. It returns a boolean based on the render options. The returned boolean determine if the panel is hidden.
66
+
- name: collapsed
67
+
description: Function that makes the panel collapsible when defined. It returns a boolean based on the render options. The returned boolean determine if the panel is collapsed. Once the user interacts with the collapse button, this function isn't taken into account anymore.
0 commit comments