dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.5k stars 10.04k forks source link

How can register any function of jquery in BLAZOR ? #15856

Closed carlosalcantara2668 closed 5 years ago

carlosalcantara2668 commented 6 years ago

how can you register the autocomplete function of jquery in blazor through JavaScript Interop in Blazor. it could be done

RyoukoKonpaku commented 6 years ago

With the upcoming new JavaScript interop API if the jQuery object is accessible from Window then calling it should be easy. As for usage that's more on how you'd implement around the interop APIs.