Skip to content

Commit 4a4cd49

Browse files
committed
maint: Update close-panel documentation.
1 parent eee2ec8 commit 4a4cd49

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/pat/close-panel/documentation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
## Description
22

3-
Closes a previously opened panel on which a ``close_panel`` method as been set.
3+
Closes a previously opened panels when clicking on elements with a ``close-panel`` class on it.
44

5-
For modals, tooltips or notifications use the class ``close-panel`` on elements to close the panel they are in.
5+
The element with the ``close-panel`` class must be a child element of the panel which should be closed.
66

7-
This is a technical pattern which works together with these other patterns:
8-
9-
- pat-modal,
10-
- pat-tooltip,
11-
- pat-notification.
7+
This pattern works together with:
128

9+
- panels which are ``<dialog>`` elements
10+
- ``pat-modal`` panels,
11+
- ``pat-tooltip`` panels,
12+
- ``pat-notification`` panels.

0 commit comments

Comments
 (0)