Skip to content

Commit

Permalink
[HxProgressIndicator] - new CssClass parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
hakenr committed Jun 24, 2024
1 parent 1d50449 commit 2d84c0e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@namespace Havit.Blazor.Components.Web.Bootstrap

<div class="hx-progress-overlay">
<div class="@CssClassHelper.Combine("hx-progress-overlay", CssClass)">
@if (_progressIndicatorVisible)
{
<div class="hx-progress-indicator">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ static HxProgressIndicator()
/// </summary>
[Parameter] public RenderFragment ChildContent { get; set; }

/// <summary>
/// Additional CSS class to be applied.
/// </summary>
[Parameter] public string CssClass { get; set; }

protected EventCallback<bool> ProgressIndicatorVisibleChanged { get; set; }

private bool _progressIndicatorVisible;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9322,6 +9322,11 @@
Wrapped content.
</summary>
</member>
<member name="P:Havit.Blazor.Components.Web.Bootstrap.HxProgressIndicator.CssClass">
<summary>
Additional CSS class to be applied.
</summary>
</member>
<member name="T:Havit.Blazor.Components.Web.Bootstrap.HxSpinner">
<summary>
Bootstrap <see href="https://getbootstrap.com/docs/5.3/components/spinners/">Spinner</see> (usually indicates an operation in progress).<br />
Expand Down

0 comments on commit 2d84c0e

Please sign in to comment.