Class SpinnerBuilder
- Namespace
- MiniTui
- Assembly
- MiniTui.dll
An activity indicator. It's stateless: the frame comes from the app's clock, and while a spinner is drawn the app ticks every 100 ms so it animates.
public sealed class SpinnerBuilder
- Inheritance
-
SpinnerBuilder
- Inherited Members
Methods
Draw(Buffer, Rect)
Draw the spinner on the first row of area.
public void Draw(Buffer buf, Rect area)
Parameters
Frames(SpinnerFrames)
public SpinnerBuilder Frames(SpinnerFrames frames)
Parameters
framesSpinnerFrames
Returns
Label(string?)
Text after the spinner.
public SpinnerBuilder Label(string? label)
Parameters
labelstring
Returns
Style(Style)
A style patched over the theme's info style for the spinner glyph.
public SpinnerBuilder Style(Style style)
Parameters
styleStyle