Skip to content

isaiasgv/Blazor-JSInterop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blazor-JSInterop

Examples on how to use Blazor JavaScript Interop. You can read my Blog Post for a more in depth step by step on how to re-create this project.

Set up

Start by completing the Getting started instruction on the *Blazor Getting Started.

Running the App

Once you set up Blazor on your machine, clone the repo and open the solution in Visual Studio 2019 Preview. Then run the Application in Debug mode and watch JavaScript Interop in action.

Application covers

  • Call JavaScript function from .Net
  • Call JavaScript function from .Net with arguments and element reference
  • Call C# .Net method from JavaScript

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

About

Examples on how to use Blazor JavaScript Interop.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published