You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Events in server-side templating translate to a call to WebSharper.UI.Templating.Runtime.Server.Handler.EventQ2$120$42 but the script link to WebSharper.UI.Templating.Runtime.js might be missing because Sitelet runtime is not adding it.
For example:
Add a <button ws-onclick="Click">Click me</button> to a client-server template and use it at template instantiation as .Click(fun _ -> JavaScript.JS.Alert "Clicked!")
The text was updated successfully, but these errors were encountered:
Actually, as I just tested this, it's not WebSharper.UI.Templating.Runtime.js that's missing, but the current project's js. EventQ2$120$42 is there, but the function called as argument to it is not.
Events in server-side templating translate to a call to
WebSharper.UI.Templating.Runtime.Server.Handler.EventQ2$120$42
but the script link toWebSharper.UI.Templating.Runtime.js
might be missing because Sitelet runtime is not adding it.For example:
Add a
<button ws-onclick="Click">Click me</button>
to a client-server template and use it at template instantiation as.Click(fun _ -> JavaScript.JS.Alert "Clicked!")
The text was updated successfully, but these errors were encountered: