Documentation
¶
Index ¶
Constants ¶
View Source
const DetailModel = "detail"
View Source
const PrimaryModel = "primaryModel"
PrimaryModel is a list of task models.
View Source
const TasksTableModel = "tasks-table"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Containerized ¶
type Containerized struct {
// contains filtered or unexported fields
}
func NewContainerized ¶
func NewContainerized(focused string, children []string) *Containerized
func (*Containerized) Children ¶
func (c *Containerized) Children() []string
func (*Containerized) FocusChild ¶
func (c *Containerized) FocusChild(child string)
func (*Containerized) Focused ¶
func (c *Containerized) Focused() string
func (*Containerized) Next ¶
func (c *Containerized) Next() string
type ContainerizedInterface ¶
type ContainerizedInterface interface { Focused() string Next() string FocusChild(string) Children() []string }
ContainerizedInterface is a component that can contain other components.
type FocusableInterface ¶
type FocusableInterface interface { // TODO add return tea.Cmd Focus() // TODO add return tea.Cmd Blur() }
type Refreshable ¶
type Resizable ¶
Resizable managed the size of the component, Viewpoint is inner viewport of the component, which is used to render the content Viewport' size is the size of the component minus the border size.
type ResizeInterface ¶
type ResizeInterface interface {
Resize(width, height int)
}
type Visible ¶ added in v0.1.1
type Visible struct {
// contains filtered or unexported fields
}
func NewVisible ¶ added in v0.1.1
type VisibleInterface ¶ added in v0.1.1
type VisibleInterface interface { IsVisible() bool Show() Hide() }
VisibleInterface is a component that can be shown or hidden.
Click to show internal directories.
Click to hide internal directories.