Documentation
¶
Overview ¶
Package table implements a vertical, single column layout system. Views are layed out from top to bottom.
l := &table.Layouter{}
childView := NewChildView(...)
l.Add(childView, nil) // The height of the view is determined by the child's layouter.
return view.Model{
Views: l.Views(),
Layouter:l,
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layouter ¶
type Layouter struct {
// contains filtered or unexported fields
}
func (*Layouter) Add ¶
func (l *Layouter) Add(v view.View, b ScrollBehavior)
Add adds v to the layouter and positions it with g.
type ScrollBehavior ¶
type ScrollBehavior interface {
}
Click to show internal directories.
Click to hide internal directories.