bkardell / common-panel

An effort to define a new element with clear semantics and separation
14 stars 3 forks source link

Can a panel 'become' expandable or removable #9

Open bkardell opened 9 years ago

bkardell commented 9 years ago

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.

chaals commented 9 years ago

Makes more sense to me that things are scriptable, i.e. the attributes should be reflected…

ZoeBijl commented 8 years ago

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?