WithSpringOptions sets the initial frequency and damping options for the progress bar's built-in spring-based animation. Frequency corresponds to speed, and damping to bounciness. For details see: https://github.com/charmbracelet/harmonica
(frequency, damping float64)
| 160 | // |
| 161 | // https://github.com/charmbracelet/harmonica |
| 162 | func WithSpringOptions(frequency, damping float64) Option { |
| 163 | return func(m *Model) { |
| 164 | m.SetSpringOptions(frequency, damping) |
| 165 | m.springCustomized = true |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | // WithScaled sets whether to scale the blend/gradient to fit the width of only |
| 170 | // the filled portion of the progress bar. The default is false, which means the |
nothing calls this directly
no test coverage detected