Documentation ¶ Index ¶ func Frame(index int) string type Mode type Spinner func New(mode Mode, dotsStyle lipgloss.Style) Spinner 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() // RawFrame returns the current spinner character without any styling applied. RawFrame() string } func New ¶ func New(mode Mode, dotsStyle lipgloss.Style) Spinner Source Files ¶ View all Source files spinner.go Click to show internal directories. Click to hide internal directories.