From d7d162ae55336ad3f4bc9f5f2c7b76e820ea4665 Mon Sep 17 00:00:00 2001 From: Dmitry Kaznacheev Date: Tue, 6 Feb 2024 16:48:17 +1000 Subject: [PATCH] Open on method --- GenOne.DPBlazorMapLibrary/Models/Events/Evented.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenOne.DPBlazorMapLibrary/Models/Events/Evented.cs b/GenOne.DPBlazorMapLibrary/Models/Events/Evented.cs index c8178f5..4d37560 100644 --- a/GenOne.DPBlazorMapLibrary/Models/Events/Evented.cs +++ b/GenOne.DPBlazorMapLibrary/Models/Events/Evented.cs @@ -56,7 +56,7 @@ public async Task OnContextMenu(Func callback) await On(_contextMenuJsFunction, callback); } - private async Task On(string eventType, Func callback) + public async Task On(string eventType, Func callback) { if (this.MouseEvents.ContainsKey(eventType)) {