mirror of
https://github.com/PacktPublishing/Web-Development-with-Blazor-Second-Edition.git
synced 2026-04-08 15:54:02 +00:00
Initial commit
This commit is contained in:
parent
2190113c56
commit
3088165398
1765 changed files with 192085 additions and 0 deletions
6
Chapter05/MyBlog/Components/wwwroot/exampleJsInterop.js
Normal file
6
Chapter05/MyBlog/Components/wwwroot/exampleJsInterop.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// This is a JavaScript module that is loaded on demand. It can export any number of
|
||||
// functions, and may import other JavaScript modules if required.
|
||||
|
||||
export function showPrompt(message) {
|
||||
return prompt(message, 'Type anything here');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue