Open bkardell opened 9 years ago
Makes more sense to me that things are scriptable, i.e. the attributes should be reflected…
If this is about dynamically adding panels as you go along, I'd say that is important :)
If this is about expansion-state
—now open
—that is surely scriptable, no?
Currently the prototype says no - it has to be determined at time of creation by either being a child of a panel-set or specifiying it directly, the value is not reflected in the sense of wiring events and aria-controls. This is probably a non-issue, but it -could- be if you attempted to create a panel later on and then add it as a child it might cause a problem.
All of these are remedyable we just have to figure out what it should do in those use cases.