Documentation
¶
Index ¶
- type FontList
- func (d FontList) Index() int
- func (d FontList) InsertItem(index int, item list.Item) tea.Cmd
- func (d FontList) Items() (l []list.Item)
- func (d FontList) RemoveItem(index int)
- func (d FontList) Render() string
- func (d *FontList) Resize(width, height int)
- func (d FontList) SelectedItem() list.Item
- func (d *FontList) Update(msg tea.Msg) (FontList, tea.Cmd)
- func (d FontList) View() (s string)
- type FontlistItem
- type ItemDelegate
- type Notification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FontList ¶
type FontList struct {
// contains filtered or unexported fields
}
func NewDownloadableModel ¶
func NewMarkedModel ¶
func (FontList) RemoveItem ¶
func (FontList) SelectedItem ¶
type FontlistItem ¶
type FontlistItem struct {
Content string
// contains filtered or unexported fields
}
func NewItem ¶
func NewItem(content string) FontlistItem
func (FontlistItem) Description ¶
func (i FontlistItem) Description() string
func (FontlistItem) FilterValue ¶
func (i FontlistItem) FilterValue() string
func (FontlistItem) Title ¶
func (i FontlistItem) Title() string
type ItemDelegate ¶
type ItemDelegate struct{}
func (ItemDelegate) Height ¶
func (d ItemDelegate) Height() int
func (ItemDelegate) Spacing ¶
func (d ItemDelegate) Spacing() int
type Notification ¶
type Notification struct {
// contains filtered or unexported fields
}
func NewNotification ¶
func NewNotification() (n *Notification)
func (*Notification) Resize ¶
func (n *Notification) Resize(width, height int)
func (*Notification) View ¶
func (n *Notification) View() (v string)
Click to show internal directories.
Click to hide internal directories.