Created
November 1, 2019 17:22
-
-
Save EdCharbeneau/b2f80921ede23d57185e262e02d68f81 to your computer and use it in GitHub Desktop.
SpaLoader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (IsLoading) | |
{ | |
@LoadingTemplate | |
} | |
else | |
{ | |
@ContentTemplate | |
} | |
@code { | |
[Parameter] public bool IsLoading { get; set; } | |
[Parameter] public RenderFragment LoadingTemplate { get; set; } | |
[Parameter] public RenderFragment ContentTemplate { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Indeed!