demo

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Command demo is a complete tuigoff application in the Elm architecture: a menu list, a grid loaded asynchronously, a drill-down page, a tree, a form and highlighted text, all inside the navigation shell.

Read it top to bottom as the pattern for a screen:

  • a screen is a value with Init, Update and View;
  • Update forwards messages to its components, gives them the size and the focus the shell announces, and reacts to the messages the components emit;
  • navigation, alerts and asynchronous loads are commands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL