spinner

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Frame

func Frame(index int) string

Frame returns the spinner character for the given animation frame.

Types

type Mode

type Mode int
const (
	ModeBoth Mode = iota
	ModeSpinnerOnly
)

type Spinner

type Spinner interface {
	layout.Model
	Reset() Spinner
	Stop()
}

func New

func New(mode Mode, dotsStyle lipgloss.Style) Spinner

Jump to

Keyboard shortcuts

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