Web/ForgeTrust.Runnable.Web.RazorWire/ExampleJsInterop.cs
ExampleJsInterop
Type
ExampleJsInterop
Provides an example of how JavaScript functionality can be wrapped in a .NET class for easy consumption.
Method
Prompt(string)
Shows a browser prompt dialog with the specified message and returns the user's input as a string, or null if the dialog was dismissed.
Method
DisposeAsync()
Disposes the loaded JavaScript module and releases associated JS resources.
If the module was never loaded, this method completes without action.