Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection interface {
Element
Elements() []Element
AddElements(...Element) Collection
Focusable() bool
Focused() bool
Focus() Collection
FocusFromStart() Collection
FocusFromEnd() Collection
Blur() Collection
FocusNext() (Collection, tea.Cmd)
FocusPrev() (Collection, tea.Cmd)
GetElementByID(int) Accessor
}
type ElementWithID ¶
type ElementWithID struct {
// contains filtered or unexported fields
}
func NewElementWithID ¶
func NewElementWithID(id int) ElementWithID
func (ElementWithID) ID ¶
func (e ElementWithID) ID() int
Click to show internal directories.
Click to hide internal directories.