Spinner

Class

For examples and usage details, see the component documentation.

View Spinner Component
Namespace: RazorConsole.Components
Assembly: RazorConsole.Core

Definition

public class Spinner : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

1
NameTypeDescription
Spinner()Constructor

Properties

5
NameTypeDescription
Appearance
SpinnerTypeSpinnerType of spinner animation. Default is Dots. See Known for all available styles.
StyleStringSpectre.Console style markup to apply. If null , uses default style.
Other
AutoDismissBooleanWhether the spinner should automatically dismiss when complete. Default is false .
MessageStringMessage displayed next to the spinner. If null or empty, no message is shown.
SpinnerNameStringName of the spinner to use (alternative to SpinnerType). Takes precedence when specified.

Methods

1
NameTypeDescription
BuildRenderTree(RenderTreeBuilder)()Method