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)
|
var _ tomo.ContentObject = new(Container)
|
||||||
|
|
||||||
// Container is an object that can contain other objects. It can be used as a
|
// 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
|
// primitive for building more complex layouts. It has two main variants: an
|
||||||
// container, and an inner container. The outer container has padding around
|
// outer container, and an inner container. The outer container has padding
|
||||||
// its edges, whereas the inner container does not. The container will have a
|
// around its edges, whereas the inner container does not. It also has a
|
||||||
// corresponding object role variation of either "outer" or "inner".
|
// "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 {
|
type Container struct {
|
||||||
box tomo.ContainerBox
|
box tomo.ContainerBox
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user