Open jonathantneal opened 2 years ago
Here are some goals I’m hoping to accomplish, next steps for the spicy-sections script, after some discussion with @bkardell.
create new oui branch with a oui-panelset.js script:
oui
oui-panelset.js
<oui-panelset>
<spicy-sections>
class RegionSet extends MediaAffordancesElement {}
class OUIPanelset extends HTMLElement {}
[affordance]
[screen and (max-width: 800px)] collapse
--affordance
collapse
exclusive-collapse
tab-bar
none
toggle
create pages branch or directory for sharing on the web that uses the oui branch:
pages
Demo: https://tabvengers.github.io/spicy-sections/src/ Branch: https://github.com/tabvengers/spicy-sections/tree/oui
At the final stretch, now. These are the remaining tests:
Here are some goals I’m hoping to accomplish, next steps for the spicy-sections script, after some discussion with @bkardell.
create new
oui
branch with aoui-panelset.js
script:<oui-panelset>
instead of<spicy-sections>
.class RegionSet extends MediaAffordancesElement {}
.class OUIPanelset extends HTMLElement {}
.[affordance]
HTML attribute.[affordance]
HTML attribute to set initial state.[screen and (max-width: 800px)] collapse
media affordance syntax.--affordance
CSS property to set state.--affordance
CSS property.collapse
,exclusive-collapse
,tab-bar
, andnone
.toggle
events.create
pages
branch or directory for sharing on the web that uses theoui
branch:Demo: https://tabvengers.github.io/spicy-sections/src/ Branch: https://github.com/tabvengers/spicy-sections/tree/oui