Open Jack-Collins opened 8 years ago
Not a solution: I have the same conceptual issue with this component. I don't know how to access the accordion control for the children inside the parent accordion either.
In my case I want to be able to open a specific child (and parent) based on the hash URL of the page - to allow deep linking into an FAQ page. This doesn't appear to be possible because I can't seem to get hold of the child accordion controls to affect the changes.
Does anybody know how to do this?
So I have a nested setup like so and I am trying to basically collapse all subpanes of a child accordion whenever the header of the parent accordion is clicked. It seems that because I have set the control attribute in the child, it is not accessible from the parent to do this collapseAll()
Is there a way around this? Thanks