Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldView ¶
type FieldView struct {
// contains filtered or unexported fields
}
FieldView is a text element. FieldView is used to draw the field's value inside any rectangle
func (*FieldView) Draw ¶
Draw draws a view element. Width of rect parameter is used to split a text into sublines
func (*FieldView) LineHeight ¶ added in v0.1.5
LineHeight sets a custom line height
type FieldWithFocused ¶
type FieldWithFocused struct { Fielder // contains filtered or unexported fields }
FieldWithFocused contains a field with focused state func
func WithFocused ¶
func WithFocused(field Fielder, isFocused fn.Bool) *FieldWithFocused
WithFocused returns a FieldWithFocused
func (*FieldWithFocused) Focused ¶
func (m *FieldWithFocused) Focused() bool
Focused returns a focused flag
type FocusFielder ¶
FocusFielder is an interface of a field model with a focused flag
Click to show internal directories.
Click to hide internal directories.