Raxol.Playground.Demos.MenuDemo (Raxol v2.9.2)

View Source

Playground demo: Raxol.UI.Components.Input.Menu — the real component, nested submenus and all. The demo holds no cursor state of its own: every key event forwards into Menu.handle_event/3 and the view draws whatever Menu.render/2 returns.

Summary

Functions

subscribe_interval(interval, msg)

subscribe_to_events(events)