Is there a way to update the colour of a accordion panel without changing anything else in it? #988
-
The documentation on accordions says:
I tried the following by providing the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @udurraniAtPresage, thanks for the question! Unfortunately, |
Beta Was this translation helpful? Give feedback.
Hi @udurraniAtPresage, thanks for the question! Unfortunately,
accordion_panel_set()
can currently only update the contents of a panel and not attributes. We'll certainly consider adding that feature in the future, but for now I've updated the documentation ofaccordion_panel_set()
in #989 to reflect that...
are the unnamed child elements that will become the panel content.