We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eee2ec8 commit 4a4cd49Copy full SHA for 4a4cd49
1 file changed
src/pat/close-panel/documentation.md
@@ -1,12 +1,12 @@
1
## Description
2
3
-Closes a previously opened panel on which a ``close_panel`` method as been set.
+Closes a previously opened panels when clicking on elements with a ``close-panel`` class on it.
4
5
-For modals, tooltips or notifications use the class ``close-panel`` on elements to close the panel they are in.
+The element with the ``close-panel`` class must be a child element of the panel which should be closed.
6
7
-This is a technical pattern which works together with these other patterns:
8
-
9
-- pat-modal,
10
-- pat-tooltip,
11
-- pat-notification.
+This pattern works together with:
12
+- panels which are ``<dialog>`` elements
+- ``pat-modal`` panels,
+- ``pat-tooltip`` panels,
+- ``pat-notification`` panels.
0 commit comments