Scanner
March 28, 2026 · View on GitHub
Back-and-forth scanning animation with fading trail.
Constructor: NewScanner(id, class string, width int, style string) *Scanner
Methods
Running() bool— true if animation is activeStart(interval time.Duration)— starts animationStop()— stops animation
Notes
Style values: "blocks", "diamonds", "circles"