How to close all accordion's items on losing focus? #334
|
Is there a way to close accordion items programmatically? |
Answered by
ngdangtu-vn
Jan 28, 2024
Replies: 1 comment
|
Found it! Eureka! It is the When we combine it with SolidJs directives |
0 replies
Answer selected by
ngdangtu-vn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found it! Eureka!
It is the
openproperty fromCollapsiblecomponent. (My case was aimming toAccordion.Item, it shares props withCollapsible.Root)When we combine it with SolidJs directives
use:namespace, we can achieve the logic close on losing focus.