SetSpringOptions sets the frequency and damping for the current spring. Frequency corresponds to speed, and damping to bounciness. For details see: https://github.com/charmbracelet/harmonica
(frequency, damping float64)
| 286 | // |
| 287 | // https://github.com/charmbracelet/harmonica |
| 288 | func (m *Model) SetSpringOptions(frequency, damping float64) { |
| 289 | m.spring = harmonica.NewSpring(harmonica.FPS(fps), frequency, damping) |
| 290 | } |
| 291 | |
| 292 | // Percent returns the current visible percentage on the model. This is only |
| 293 | // relevant when you're animating the progress bar. |
no outgoing calls
no test coverage detected