override protected void OnAfterRender(bool firstRender) { if (firstRender) { Accordion.Register(this); } }
internal async Task Toggle() { Expanded = !Expanded; await Accordion.NotifyChangeAsync(this); }