Skip to content

Streamlining JS function invocation via reference in Blazor interop #62192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
oroztocil opened this issue May 31, 2025 · 1 comment
Open

Streamlining JS function invocation via reference in Blazor interop #62192

oroztocil opened this issue May 31, 2025 · 1 comment
Assignees
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-jsinterop This issue is related to JSInterop in Blazor
Milestone

Comments

@oroztocil
Copy link
Member

As a follow-up to improvements in Blazor JS interop done in #31151, consider adding some API that makes it easier to use an IJSObjectReference that references an JS function. In particular, to be able to convert it into a regular C# Func delegate that can be used to invoke the JS function.

@oroztocil oroztocil added the design-proposal This issue represents a design proposal for a different issue, linked in the description label May 31, 2025
@github-actions github-actions bot added the area-blazor Includes: Blazor, Razor Components label May 31, 2025
@oroztocil
Copy link
Member Author

@oroztocil oroztocil self-assigned this May 31, 2025
@oroztocil oroztocil added enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-jsinterop This issue is related to JSInterop in Blazor and removed design-proposal This issue represents a design proposal for a different issue, linked in the description labels May 31, 2025
@javiercn javiercn added this to the 10.0-preview6 milestone May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-blazor-jsinterop This issue is related to JSInterop in Blazor
Projects
None yet
Development

No branches or pull requests

2 participants