Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ButtonModel ¶
type ButtonModel struct {
// contains filtered or unexported fields
}
func NewButtonModel ¶
func NewButtonModel(text string, focused bool) *ButtonModel
func (*ButtonModel) Blur ¶
func (m *ButtonModel) Blur()
func (*ButtonModel) Focus ¶
func (m *ButtonModel) Focus() tea.Cmd
func (*ButtonModel) Init ¶
func (m *ButtonModel) Init() tea.Cmd
func (*ButtonModel) Value ¶
func (m *ButtonModel) Value() string
func (*ButtonModel) View ¶
func (m *ButtonModel) View() string
type TextInputModel ¶
type TextInputModel struct {
// contains filtered or unexported fields
}
func NewTextInput ¶
func NewTextInput(title string, placeholder string, charlimit int) *TextInputModel
func (*TextInputModel) Blur ¶
func (m *TextInputModel) Blur()
func (*TextInputModel) Focus ¶
func (m *TextInputModel) Focus() tea.Cmd
func (*TextInputModel) Focused ¶
func (m *TextInputModel) Focused() bool
func (*TextInputModel) Init ¶
func (m *TextInputModel) Init() tea.Cmd
func (*TextInputModel) Value ¶
func (m *TextInputModel) Value() string
func (*TextInputModel) View ¶
func (m *TextInputModel) View() string
Click to show internal directories.
Click to hide internal directories.