Documentation
¶
Index ¶
- Variables
- func CancelButton(focused, defaultButton bool, value string) string
- func NewSpinner() spinner.Model
- func OKButton(focused, defaultButton bool, value string) string
- func PasswordType(o *options.PasswordsOptions) string
- type ErrorMsg
- type Index
- type Item
- type ItemDelegate
- type Message
- type OtherMsg
- type SetMsg
- type State
- type Styles
- type SuccessMsg
Constants ¶
This section is empty.
Variables ¶
View Source
var ActiveTabBorder = lipgloss.Border{
Top: "─",
Bottom: " ",
Left: "│",
Right: "│",
TopLeft: "╭",
TopRight: "╮",
BottomLeft: "┘",
BottomRight: "└",
}
View Source
var TabBorder = lipgloss.Border{
Top: "─",
Bottom: "─",
Left: "│",
Right: "│",
TopLeft: "╭",
TopRight: "╮",
BottomLeft: "┴",
BottomRight: "┴",
}
Functions ¶
func CancelButton ¶
func NewSpinner ¶
func PasswordType ¶
func PasswordType(o *options.PasswordsOptions) string
Types ¶
type ItemDelegate ¶
type ItemDelegate struct{}
func (ItemDelegate) Height ¶
func (d ItemDelegate) Height() int
func (ItemDelegate) Spacing ¶
func (d ItemDelegate) Spacing() int
type Styles ¶
type Styles struct {
BaseStyle,
Cursor,
Tab,
ActiveTab,
ListTitle,
Wrap,
Doc,
Divider,
Help,
Item,
Subtle,
Success,
Error,
Bold,
Prompt,
ListView,
FilterPrompt,
FilterCursor,
FocusedPrompt,
InactivePagination,
Pagination,
SelectionMarker,
SelectedMenuItem,
Checkmark lipgloss.Style
}
func DefaultStyles ¶
func DefaultStyles() Styles
type SuccessMsg ¶
type SuccessMsg struct{}
Click to show internal directories.
Click to hide internal directories.