From 7cc2c2d6b3310579498735675f4adbf4a765ce39 Mon Sep 17 00:00:00 2001 From: jeremyfelt Date: Tue, 5 Nov 2024 21:23:36 -0800 Subject: [PATCH] Update README documentation --- README.md | 25 ++++++++++++++++--------- readme.txt | 25 ++++++++++++++++--------- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index c328e6a..fbeba18 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,33 @@ Display an accessible show/hide interface with details and summary elements. ## Description -Show / Hide Section Block provides two blocks: a Show / Hide Group block that is populated with one or more Show / Hide Section blocks. +Show / Hide Section Block provides four blocks that are used to display a group of `
` elements that each contain a `` and an arbitrary number of additional blocks. + +* The Show Hide Group block is a wrapping `
`. +* The Show Hide Section block is a wrapping `
`. One or more of these blocks is added to a Show Hide Group block. +* The Show Hide Summary block contains the content for a `` tag. One of these blocks is inside each Show Hide Section block. +* The Show Hide Details block contains arbitrary content. One of these blocks is added inside each Show Hide Section block. The HTML output for an individual section is: -
+
- Summary text + Summary text
The HTML output for the group is: -
-
- +
+ + +
+
-
- +
+
@@ -31,7 +38,7 @@ The HTML output for the group is: An option is provided in the block's side panel to toggle an "Open all"/"Close all" button. If this is toggled on for a block, an additional ` +
+
-
- +
+
@@ -38,7 +45,7 @@ The HTML output for the group is: An option is provided in the block's side panel to toggle an "Open all"/"Close all" button. If this is toggled on for a block, an additional `