Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Overlay ¶ added in v1.5.1
type Overlay struct {
// contains filtered or unexported fields
}
Overlay allows you to overlay text on top of a background and achieve a popup.
func NewOverlay ¶ added in v1.5.1
NewOverlay creates a new overlay and computes the necessary indices.
type TitleBorder ¶ added in v1.6.5
type TitleBorder struct {
// contains filtered or unexported fields
}
TitleBorder creates a fancy border style to wrap a popup
func NewTitleBorder ¶ added in v1.6.5
func NewTitleBorder(text string, width, height int, color lipgloss.Color, border lipgloss.Border) TitleBorder
NewTitleBorder creates a new fancy border with a specific title
func (TitleBorder) Render ¶ added in v1.6.5
func (tb TitleBorder) Render(view string) string
Render renders the contnent with the fancy border
func (*TitleBorder) Resize ¶ added in v1.6.5
func (tb *TitleBorder) Resize(width, height int)
Resize allows resizing the border and adjusting the top border
Click to show internal directories.
Click to hide internal directories.