Documentation ¶ Index ¶ type Button func NewButton(text string, hintPosition int, action tea.Cmd) *Button type Toggle func NewToggle(text string, hintPosition int, action tea.Cmd, initial bool) *Toggle func (t *Toggle) ChangeStatus(status bool) *Toggle func (t *Toggle) View() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Button ¶ type Button struct { View string Width int Click tea.Cmd } func NewButton ¶ func NewButton(text string, hintPosition int, action tea.Cmd) *Button type Toggle ¶ type Toggle struct { Width int Click tea.Cmd // contains filtered or unexported fields } func NewToggle ¶ func NewToggle(text string, hintPosition int, action tea.Cmd, initial bool) *Toggle func (*Toggle) ChangeStatus ¶ func (t *Toggle) ChangeStatus(status bool) *Toggle func (*Toggle) View ¶ func (t *Toggle) View() string Source Files ¶ View all Source files button.gostyle.gotoggle.go Click to show internal directories. Click to hide internal directories.