listStyle: toggle - expanded state

It would be useful to be able to indicate the state of a toggle, if its expanded or collapsed. Seems default is collapsed.

So something like:

 listStyle: {type:"toggle", state: "open"},

Thank you

1 Like