ui

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConversionPage

func ConversionPage() *huh.Form

func CreateResultScreen

func CreateResultScreen(m Model) string

func HomePage

func HomePage() *huh.Form

func ResizePage

func ResizePage() *huh.Form

Types

type Model added in v1.1.0

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel() Model

func (*Model) ChangePageOperation added in v1.1.0

func (m *Model) ChangePageOperation(pageIndex int)

func (Model) Init added in v1.1.0

func (m Model) Init() tea.Cmd

func (Model) Update added in v1.1.0

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View added in v1.1.0

func (m Model) View() string

type Styles

type Styles struct {
	BorderColor lipgloss.Color
	Framed      lipgloss.Style
	Success     lipgloss.Style
	Failure     lipgloss.Style
	Info        lipgloss.Style
}

func DefaultStyle

func DefaultStyle() *Styles

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL