examples

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunEnhancedUIDemo

func RunEnhancedUIDemo() error

RunEnhancedUIDemo runs the enhanced UI demonstration

Types

type Demo

type Demo struct {
	Name        string
	Description string
	Component   components.Component
	SetupFunc   func(*DemoModel)
}

Demo represents a UI component demonstration

type DemoModel

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

DemoModel demonstrates the enhanced UI components

func NewDemoModel

func NewDemoModel() *DemoModel

NewDemoModel creates a new demo model

func (*DemoModel) Init

func (m *DemoModel) Init() tea.Cmd

Init initializes the demo model

func (*DemoModel) Update

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

Update handles messages and updates the demo model

func (*DemoModel) View

func (m *DemoModel) View() string

View renders the demo model

Jump to

Keyboard shortcuts

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