File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,29 @@ Add using statement to your Blazor `<component/page>.razor` file. Or globally re
292292@using Majorsoft.Blazor.Components.Core.Extensions
293293```
294294
295+ ** In case of WebAssembly project register CSS events services in your ` Program.cs ` file:**
296+ ```
297+ using Majorsoft.Blazor.Components.CssEvents;
298+ ...
299+ public static async Task Main(string[] args)
300+ {
301+ var builder = WebAssemblyHostBuilder.CreateDefault(args);
302+
303+ builder.Services.AddMapExtensions();
304+ }
305+ ```
306+
307+ ** In case of Server hosted project register CSS events services in your ` Startup.cs ` file:**
308+ ```
309+ using Majorsoft.Blazor.Components.CssEvents;
310+ ...
311+
312+ public void ConfigureServices(IServiceCollection services)
313+ {
314+ services.AddMapExtensions();
315+ }
316+ ```
317+
295318### Dependences
296319** Majorsoft.Blazor.Components.Maps** package depends on other Majorsoft Nuget packages:
297320- [ Majorsoft.Blazor.Components.Common.JsInterop] ( https://www.nuget.org/packages/Majorsoft.Blazor.Components.Common.JsInterop )
You can’t perform that action at this time.
0 commit comments