Closed slegrand45 closed 1 year ago
Thanks!
However, we are currently working on allowing arbitrary user-defined event handlers in Vdom, based on a notion of "event decoder" (same as in Elm). We will also reimplement all existing handlers with this new system.
This is currently being developed and tested in our internal version at LexiFi, and we will push it upstream afterwards.
Your proposal could then be implemented in "user land" (but we can of course also add the function to the Vdom interface -- to be discussed). Anyway, I suggest to wait for a few weeks, to avoid a conflict with our ongoing development.
cc @aureliensaue who is working on this extension.
Ok, no problem, i will wait for this new version. Thanks!
Hi @slegrand45, the new version has now been released: https://github.com/LexiFi/ocaml-vdom/tree/0.3!
Excellent news! Thank you very much.
Hi,
This is in addition to the already existing cancellable simple click. I use this new handler on table rows.
Thank you.