Documentation
¶
Overview ¶
Package anim provides an animated spinner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anim ¶
type Anim struct {
// contains filtered or unexported fields
}
Anim is a Bubble for an animated spinner.
func (*Anim) ElapsedSeconds ¶
ElapsedSeconds returns the number of full seconds elapsed since the animation started, derived from the frame counter so no wall-clock call is needed.
func (*Anim) EllipsisFrame ¶
EllipsisFrame returns a cycling ellipsis string (".", "..", "...") based on the current frame counter. Advances every ~400ms regardless of label width.
Click to show internal directories.
Click to hide internal directories.