public async ValueTask OnResizeCallback(InteropEventData evt) { switch (evt.Type) { // { evt: "resize", data: [], containerId: containerId } case "resize": await OnResize.InvokeAsync(new ValueEventArgs <string> { Value = evt.ContainerId }); break; } }