private async Task UpdateFocusZoneAsync() { try { var props = FocusZoneProps.GenerateProps(this, Id, RootElementReference); await jsRuntime.InvokeVoidAsync("BlazorFabricFocusZone.updateFocusZone", _registrationId, props); } catch (TaskCanceledException ex) { } }
private async Task <int> RegisterFocusZoneAsync() { var props = FocusZoneProps.GenerateProps(this, Id, RootElementReference); return(await jsRuntime.InvokeAsync <int>("BlazorFabricFocusZone.register", props, DotNetObjectReference.Create(this))); }
private async Task UpdateFocusZoneAsync() { Debug.WriteLine("Focuszone updating..."); var props = FocusZoneProps.GenerateProps(this, Id, RootElementReference); await jsRuntime.InvokeVoidAsync("BlazorFabricFocusZone.updateFocusZone", _registrationId, props); }