What a player (or an agent) can do with this navigation-menu. Press Test on the preview to play them live. Agents can fetch them as JSON from /r/behaviors/navigation-menu.json or run them on this page with await window.__8bitcn.behaviors.run("navigation-menu").
Open Getting started and read its links open
Main · setValue("Getting started")"Main" has value = "getting-started"The preview shows an element with role "link" containing "How to install dependencies"The preview shows an element with role "link" containing "Building Retro Blocks"A value change is reported to "getting-started"Move from Getting started to Components switch
Main · setValue("Components")"Main" has value = "components"The preview shows an element with role "link" containing "Scroll-area"Close the open Components panel close
Main · close()"Main" has value = nullA value change is reported to nullOpen Getting started and press Installation, which jumps to this page's Installation section and closes the menu follow
Main · setValue("Getting started")Installation · press()"Main" has value = nullA value change is reported to null