Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HideMsg ¶
type HideMsg struct {
ID uint64 // If 0, hides all notifications (backward compatibility)
}
type Notification ¶
type Notification struct {
// contains filtered or unexported fields
}
Notification represents a notification manager that displays multiple stacked messages in the bottom right corner of the screen
func New ¶
func New() Notification
func (*Notification) GetLayer ¶
func (n *Notification) GetLayer() *lipgloss.Layer
func (*Notification) IsVisible ¶
func (n *Notification) IsVisible() bool
func (*Notification) SetSize ¶
func (n *Notification) SetSize(width, height int)
func (*Notification) Update ¶
func (n *Notification) Update(msg tea.Msg) (Notification, tea.Cmd)
func (*Notification) View ¶
func (n *Notification) View() string
Click to show internal directories.
Click to hide internal directories.