Update doc comment for Container
This commit is contained in:
parent
694f9127c0
commit
b784596b4d
10
container.go
10
container.go
@ -7,10 +7,12 @@ import "git.tebibyte.media/tomo/tomo/event"
|
||||
var _ tomo.ContentObject = new(Container)
|
||||
|
||||
// Container is an object that can contain other objects. It can be used as a
|
||||
// primitive for building more complex layouts. It has two variants: an outer
|
||||
// container, and an inner container. The outer container has padding around
|
||||
// its edges, whereas the inner container does not. The container will have a
|
||||
// corresponding object role variation of either "outer" or "inner".
|
||||
// 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".
|
||||
type Container struct {
|
||||
box tomo.ContainerBox
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user