Blazor Html WebComponents CustomEvents easier handling #27651
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Status: Resolved
Milestone
Hi AspNetCore Team,
we are using Html WebComponents as base for our applications and interacting with them is extremly complex
from blazor, especially with CustomEvents
Here is a sample html web component:
I would like to have something like that for handling custom Events in Blazor:
But what I currently need to do is the following:
Index.razor:
Javascript:
Could this be improved:
I build a repository with differnet html web component issues, there are also other issues in there :
https://github.com/MichaelPeter/BlazorWebComponentTestApp
importaint are
https://github.com/MichaelPeter/BlazorWebComponentTestApp/blob/master/Pages/Index.razor
and
https://github.com/MichaelPeter/BlazorWebComponentTestApp/blob/master/wwwroot/scripts/TestWebComponents.js
Related:
#27070
#27654
The text was updated successfully, but these errors were encountered: