56 lines
1.2 KiB
C#
56 lines
1.2 KiB
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace EgwCoreLib.Razor
|
|
{
|
|
public partial class LoadingData
|
|
{
|
|
#region Public Enums
|
|
|
|
public enum CtrlSize
|
|
{
|
|
Normal,
|
|
Small,
|
|
Large
|
|
}
|
|
|
|
public enum SpinMode
|
|
{
|
|
Normal,
|
|
Growl,
|
|
BounceLine
|
|
}
|
|
|
|
#endregion Public Enums
|
|
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Modalità display principale
|
|
/// default: alert alert-primary
|
|
/// </summary>
|
|
[Parameter]
|
|
public string DisplayCss { get; set; } = "alert alert-primary";
|
|
|
|
/// <summary>
|
|
/// Modalità animazione
|
|
/// default: Normal
|
|
/// </summary>
|
|
[Parameter]
|
|
public SpinMode DisplayMode { get; set; } = SpinMode.Normal;
|
|
|
|
/// <summary>
|
|
/// Dimensione display
|
|
/// default: Normal
|
|
/// </summary>
|
|
[Parameter]
|
|
public CtrlSize DisplaySize { get; set; } = CtrlSize.Normal;
|
|
|
|
/// <summary>
|
|
/// Titolo da mostrare nel pannello
|
|
/// </summary>
|
|
[Parameter]
|
|
public string Title { get; set; } = "loading data";
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |