Key ID is not needed
This commit is contained in:
parent
bce137ac57
commit
c5d2a6b469
1 changed files with 2 additions and 2 deletions
|
@ -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.\"))"
|
||||
|
|
Loading…
Add table
Reference in a new issue