Spinner
ClassFor examples and usage details, see the component documentation.
View Spinner ComponentNamespace:
RazorConsole.ComponentsAssembly:
RazorConsole.CoreDefinition
public class Spinner : ComponentBase, IComponent, IHandleEvent, IHandleAfterRenderConstructors
1| Name | Type | Description |
|---|---|---|
Spinner() | Constructor | — |
Properties
5| Name | Type | Description |
|---|---|---|
Appearance | ||
SpinnerType | Spinner | Type of spinner animation. Default is Dots. See Known for all available styles. |
Style | String | Spectre.Console style markup to apply. If null , uses default style. |
Other | ||
AutoDismiss | Boolean | Whether the spinner should automatically dismiss when complete. Default is false . |
Message | String | Message displayed next to the spinner. If null or empty, no message is shown. |
SpinnerName | String | Name of the spinner to use (alternative to SpinnerType). Takes precedence when specified. |
Methods
1| Name | Type | Description |
|---|---|---|
BuildRenderTree(RenderTreeBuilder)() | Method | — |