The attribute name adopts kebab-case syntax (increment-amount, not IncrementAmount): Alternatively, you can set the parameter's value as a JavaScript property on the element object. Optionally, components can be added to the NavMenu component so that a link to the component appears in the app's UI-based navigation. How Can I Connect my code from Program.cs to My Razor Page Button? For more information, see the Namespaces section. Register the custom event with the preceding handler in wwwroot/index.html (Blazor WebAssembly) or Pages/_Layout.cshtml (Blazor Server) immediately after the Blazor
24
Feb