Key ID is not needed

This commit is contained in:
Marcus Kammer 2023-09-01 10:41:25 +02:00
parent bce137ac57
commit c5d2a6b469

View file

@ -90,7 +90,7 @@ Example:
(:div :class "accordion-item"
,@body)))
(defmacro accordion ((&key (id "accordionExample")) &rest rest)
(defmacro accordion (id &rest rest)
"This macro generates an accordion-style collapsible list with Bootstrap.
ID: Specifies a unique identifier for the accordion. Defaults to 'accordionExample'.
@ -102,7 +102,7 @@ REST: Specifies a list of accordion items. Each item is a plist with the followi
- :content: Specifies the content of the accordion item.
Example:
(accordion (:id \"accordionExample\")
(accordion \"accordionExample\"
(:target \"collapseOne\" :name \"Accordion Item #1\" :show t :content \"This is the first item's accordion body.\")
(:target \"collapseTwo\" :name \"Accordion Item #2\" :content \"This is the second item's accordion body.\")
(:target \"collapseThree\" :name \"Accordion Item #3\" :content \"This is the second item's accordion body.\"))"