Document all tags and named sub-components

Closes #9
This commit is contained in:
2024-08-25 02:36:05 -04:00
parent a688e2dc24
commit 30d4e208b1
11 changed files with 80 additions and 5 deletions

View File

@@ -10,9 +10,14 @@ var _ tomo.ContentObject = new(Container)
// primitive for building more complex layouts. It has two main variants: an
// outer container, and an inner container. The outer container has padding
// around its edges, whereas the inner container does not. It also has a
// "sunken" variation designed to hold a scrolled list of items. The container
// will have a corresponding object role variation of either "outer", "inner",
// or "sunken".
// "sunken" variation designed to hold a scrolled list of items.
//
// Tags:
// - [outer] The container is the root of a window.
// - [inner] The container is within another container, and is part of a
// larger layout.
// - [sunken] The container holds a visually grouped, usually scrolled, list
// of items.
type Container struct {
box tomo.ContainerBox
}