radio

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Radio

type Radio struct {
	obj.ElementWithID
	obj.ElementWithCallback
	// contains filtered or unexported fields
}

func New

func New(id int, label string, callback tea.Msg) Radio

func (Radio) Data

func (r Radio) Data() interface{}

implementing Accessor

func (Radio) Toggle

func (r Radio) Toggle() Radio

special

func (Radio) Update

func (r Radio) Update(msg tea.Msg) (obj.Element, tea.Cmd)

implementing Element

func (Radio) View

func (r Radio) View(focused bool) string

Jump to

Keyboard shortcuts

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