Skip to content

Make @onauxclick event accessible for Blazor server apps #30452

@ByteCraftServices

Description

@ByteCraftServices

Is your feature request related to a problem? Please describe.

I'm missing auxclick event. When navigating through the app it might be necessary sometimes that the element can be decorated with an href attribute + the onauxclick event.
e.g.: In Chrome I want to open a new tab in from a link, but I also want to trigger a C# method by the same click. The onclick event isn't triggered when using the middle button of the mouse

Describe the solution you'd like

In my opinion the behaviour should be quite similar to the @OnClick event, which is already implemented

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions