diff options
Diffstat (limited to 'src/Lib/Dom/HE.ml')
-rw-r--r-- | src/Lib/Dom/HE.ml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Lib/Dom/HE.ml b/src/Lib/Dom/HE.ml new file mode 100644 index 0000000..098259a --- /dev/null +++ b/src/Lib/Dom/HE.ml @@ -0,0 +1,7 @@ +(* Event listeners *) + +let on_click f = H.EventAttr ("click", f) + +let on_input f = H.EventAttr ("input", f) + +let on_submit f = H.EventAttr ("submit", f) |