LexiFi / ocaml-vdom

Elm architecture and (V)DOM for OCaml
MIT License
197 stars 13 forks source link

click/dblclick handlers take a mouse_event argument #15

Closed alainfrisch closed 6 years ago

alainfrisch commented 6 years ago

Fix #11.

This breaks the API. One could avoid it by introducing new variants of Vdom.onclick/ondblclick, but I don't feel this is necessary (we are at version 0.1 for a reason).