Documentation ¶ Index ¶ type App func New(squad *squad.SQuAD, title string, dataset teax.Dataset) App func (m App) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m App) View() string type Item type Title func NewCreateForm(maxWidth int) (Title, tea.Cmd) func NewUpdateForm(article squad.Article, maxWidth int) (Title, tea.Cmd) func (m Title) Height() int func (m Title) KeyMap() help.KeyMap func (m Title) Resize(width, height int) teax.Mode func (m Title) Update(msg tea.Msg) (teax.Mode, tea.Cmd) func (m Title) View() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type App ¶ type App struct { teax.Model[Item] } func New ¶ func New(squad *squad.SQuAD, title string, dataset teax.Dataset) App func (App) Update ¶ func (m App) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (App) View ¶ func (m App) View() string type Item ¶ type Item = squad.Article type Title ¶ type Title struct { // contains filtered or unexported fields } func NewCreateForm ¶ func NewCreateForm(maxWidth int) (Title, tea.Cmd) func NewUpdateForm ¶ func NewUpdateForm(article squad.Article, maxWidth int) (Title, tea.Cmd) func (Title) Height ¶ func (m Title) Height() int func (Title) KeyMap ¶ func (m Title) KeyMap() help.KeyMap func (Title) Resize ¶ func (m Title) Resize(width, height int) teax.Mode func (Title) Update ¶ func (m Title) Update(msg tea.Msg) (teax.Mode, tea.Cmd) func (Title) View ¶ func (m Title) View() string Source Files ¶ View all Source files app.gotitle.go Click to show internal directories. Click to hide internal directories.