public bool SetFirstChild(BSNavItem sender) { if (ActiveChild != null) { return(false); } ActiveChild = sender; return(true); }
private async void Parent_ChildHandler(BSNavItem sender) { if (sender == this) { return; } IsActive = false; await InvokeAsync(StateHasChanged); }
public void Invoke(BSNavItem sender) { ActiveChild = sender; if (IsTabs) { TabRender?.Render(); } ChildHandler?.Invoke(sender); }