-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method name not found in JavaScript compilation #166
Comments
I believe the update to UI didn't go correctly in your project - the above code should still work just fine. You might want to remove all UI.Next references (confirming in the project files as well) and re-adding the UI ones. |
Actually I think this is because we are missing proxies for the quotation-based version of these methods. We should definitely (re-?)add them. But in the meantime, you should use |
Could you please point me how I can use “WebSharper.UI.Client” for handling of mouse events? |
I encountered the same problem during a 3 -> 4 upgrade. This might work for you: |
Or you can set the event handler as an attribute: let Main () =
div [ on.mouseDown (fun _ _ -> ()) ] [] |
Thank you for the help. It works now. |
After migration from Websharper.UI.Next to Websharper.UI, the code
yields the build error:
The text was updated successfully, but these errors were encountered: