namespace Lux.UI.Components.Pages { public partial class ConfListNew { #region Protected Properties protected string SearchVal { get => searchVal; set { isLoading = true; searchVal = value; isLoading = false; } } #endregion Protected Properties #if false protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { await Task.Delay(500); isLoading = false; await InvokeAsync(StateHasChanged); } } #endif #region Protected Methods protected void ResetSearch() { SearchVal = ""; } #endregion Protected Methods #region Private Fields private bool isLoading = false; private string searchVal = ""; private int showConf = 0; #endregion Private Fields #region Private Methods private void DoOpen(int index) { showConf = index; } private string ButtonCss(int index) { string ans = ""; if (showConf == index) ans = "active"; return ans; } #endregion Private Methods } }