I'm trying to use JQuery provide by WebSharper to catch the following event : selectstart.
So I write the following code :
JQuery.Of(".editorArea").On("selectstart", fun x ->
(
JavaScript.Log("test")
true
)
)
The problem is this never print the test
string in the console. And I don't know how to use x which have the obj
type so I can't really access the event informations.