WarUI

Live Example Shell with Config Controls

GRID-A30-F01P0baselinePlanned

Defines the standard docs frame used by every WarGrid feature page. It combines a running grid, a config control panel, a source code tab, an API reference tab and an expected-behaviour panel. A single consistent shell means every feature is demonstrated and documented the same way.

Planned. This page shows the specification from issue #210. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A basic grid with 20 rows and 4 columns. Tabs are shown for Preview, Source, API and Expected Behaviour, with a controls panel on the right.

Expected behavior

Changing any control re-renders the grid within one frame. The Source tab reflects the exact options in use. Reset restores the initial state.

Planned API surface

DocsExampleexampleConfigonConfigChangerenderSourceapiRefsexpectedBehavior

Acceptance criteria

  • Every control change updates both the preview and the source text (pending)
  • The Source tab output is valid, compilable code for the selected framework (pending)
  • The API tab lists every option referenced in the example, with links (pending)
  • The Reset control restores all controls and grid state (pending)
  • The shell is reusable by every feature page with no per-page layout code (pending)