From fed8dcfcb831bcd16c94514eb20cd6ffa664827c Mon Sep 17 00:00:00 2001 From: scubakiz Date: Wed, 3 Feb 2021 13:32:27 -0700 Subject: [PATCH] Update BECanvasComponent.cs Exposed Id so component can be found in Javascript. --- src/Blazor.Extensions.Canvas/BECanvasComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Blazor.Extensions.Canvas/BECanvasComponent.cs b/src/Blazor.Extensions.Canvas/BECanvasComponent.cs index 7871bf4..0379636 100644 --- a/src/Blazor.Extensions.Canvas/BECanvasComponent.cs +++ b/src/Blazor.Extensions.Canvas/BECanvasComponent.cs @@ -12,7 +12,7 @@ public class BECanvasComponent : ComponentBase [Parameter] public long Width { get; set; } - protected readonly string Id = Guid.NewGuid().ToString(); + public readonly string Id = Guid.NewGuid().ToString(); protected ElementReference _canvasRef; internal ElementReference CanvasReference => this._canvasRef;