Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 3866615ed9f87500bac83f78574eecc8 > files > 139

js-of-ocaml-doc-1.2-2.fc18.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Lwt_js.html">
<link rel="next" href="Regexp.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="CSS" rel="Chapter" href="CSS.html">
<link title="Dom" rel="Chapter" href="Dom.html">
<link title="Dom_events" rel="Chapter" href="Dom_events.html">
<link title="Dom_html" rel="Chapter" href="Dom_html.html">
<link title="Event_arrows" rel="Chapter" href="Event_arrows.html">
<link title="File" rel="Chapter" href="File.html">
<link title="Firebug" rel="Chapter" href="Firebug.html">
<link title="Form" rel="Chapter" href="Form.html">
<link title="Js" rel="Chapter" href="Js.html">
<link title="Json" rel="Chapter" href="Json.html">
<link title="Lwt_js" rel="Chapter" href="Lwt_js.html">
<link title="Lwt_js_events" rel="Chapter" href="Lwt_js_events.html">
<link title="Regexp" rel="Chapter" href="Regexp.html">
<link title="Typed_array" rel="Chapter" href="Typed_array.html">
<link title="Url" rel="Chapter" href="Url.html">
<link title="WebGL" rel="Chapter" href="WebGL.html">
<link title="XmlHttpRequest" rel="Chapter" href="XmlHttpRequest.html"><link title="Create Lwt threads for events" rel="Section" href="#2_CreateLwtthreadsforevents">
<link title="Predefined functions for some types of events" rel="Section" href="#2_Predefinedfunctionsforsometypesofevents">
<title>Lwt_js_events</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Lwt_js.html" title="Lwt_js">Previous</a>
&nbsp;<a class="up" href="index.html" title="Index">Up</a>
&nbsp;<a class="post" href="Regexp.html" title="Regexp">Next</a>
</div>
<h1>Module <a href="type_Lwt_js_events.html">Lwt_js_events</a></h1>
<pre><span class="keyword">module</span> Lwt_js_events: <code class="code">sig</code> <a href="Lwt_js_events.html">..</a> <code class="code">end</code></pre><div class="info">
Reminder:
   Event capturing starts with the outer most element in the DOM and
   works inwards to the HTML element the event took place on (capture phase)
   and then out again (bubbling phase).<br>
</div>
<hr width="100%">
<pre><span id="VALpreventDefault"><span class="keyword">val</span> preventDefault</span> : <code class="type"><a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit</code></pre><div class="info">
Call this to prevent the default handler for the event. 
    To stop propagation of the event, call <a href="Dom_html.html#VALstopPropagation"><code class="code">Dom_html.stopPropagation</code></a>.<br>
</div>
<br>
<h2 id="2_CreateLwtthreadsforevents">Create Lwt threads for events</h2><br>
<pre><span id="VALmake_event"><span class="keyword">val</span> make_event</span> : <code class="type">(#<a href="Dom_html.event-c.html">Dom_html.event</a> as 'a) <a href="Js.html#TYPEt">Js.t</a> <a href="Dom_html.Event.html#TYPEtyp">Dom_html.Event.typ</a> -><br>       ?use_capture:bool -> #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> 'a <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><div class="info">
<code class="code">make_event ev target</code> creates a Lwt thread that waits
    for the event <code class="code">ev</code> to happen on <code class="code">target</code> (once).
    This thread is cancellable using <code class="code">Lwt.cancel</code>.
    If you set the optional parameter <code class="code">~use_capture:true</code>,
    the event will be caught during the capture phase,
    otherwise it is caught during the bubbling phase
    (default).<br>
</div>
<pre><span id="VALseq_loop"><span class="keyword">val</span> seq_loop</span> : <code class="type">(?use_capture:'a -> 'b -> 'c Lwt.t) -><br>       ?use_capture:'a -> 'b -> ('c -> unit Lwt.t) -> 'd Lwt.t</code></pre><div class="info">
<code class="code">seq_loop (make_event ev) target handler</code>
    creates a looping Lwt thread that waits
    for the event <code class="code">ev</code> to happen on <code class="code">target</code>, then execute handler,
    and start again waiting for the event.
<p>

    For example, the <code class="code">clicks</code> function below is defined by:
<p>

<code class="code">let clicks ?use_capture t = seq_loop click ?use_capture t</code>
<p>

    The thread returned is cancellable using <code class="code">Lwt.cancel</code>.<br>
</div>
<br>
<h2 id="2_Predefinedfunctionsforsometypesofevents">Predefined functions for some types of events</h2><br>
<pre><span id="VALclick"><span class="keyword">val</span> click</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdblclick"><span class="keyword">val</span> dblclick</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALmousedown"><span class="keyword">val</span> mousedown</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALmouseup"><span class="keyword">val</span> mouseup</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALmouseover"><span class="keyword">val</span> mouseover</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALmousemove"><span class="keyword">val</span> mousemove</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALmouseout"><span class="keyword">val</span> mouseout</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALkeypress"><span class="keyword">val</span> keypress</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.keyboardEvent-c.html">Dom_html.keyboardEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALkeydown"><span class="keyword">val</span> keydown</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.keyboardEvent-c.html">Dom_html.keyboardEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALkeyup"><span class="keyword">val</span> keyup</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.keyboardEvent-c.html">Dom_html.keyboardEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdragstart"><span class="keyword">val</span> dragstart</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdragend"><span class="keyword">val</span> dragend</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdragenter"><span class="keyword">val</span> dragenter</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdragover"><span class="keyword">val</span> dragover</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdragleave"><span class="keyword">val</span> dragleave</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdrag"><span class="keyword">val</span> drag</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALdrop"><span class="keyword">val</span> drop</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALmousewheel"><span class="keyword">val</span> mousewheel</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> * (int * int)) Lwt.t</code></pre><div class="info">
This function returns the event,
    together with the numbers of ticks the mouse wheel moved.
    Positive means down or right.
    This interface is compatible with all (recent) browsers.<br>
</div>
<pre><span id="VALtouchstart"><span class="keyword">val</span> touchstart</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALtouchmove"><span class="keyword">val</span> touchmove</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALtouchend"><span class="keyword">val</span> touchend</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALtouchcancel"><span class="keyword">val</span> touchcancel</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> Lwt.t</code></pre><pre><span id="VALclicks"><span class="keyword">val</span> clicks</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdblclicks"><span class="keyword">val</span> dblclicks</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALmousedowns"><span class="keyword">val</span> mousedowns</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALmouseups"><span class="keyword">val</span> mouseups</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALmouseovers"><span class="keyword">val</span> mouseovers</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALmousemoves"><span class="keyword">val</span> mousemoves</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALmouseouts"><span class="keyword">val</span> mouseouts</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALkeypresses"><span class="keyword">val</span> keypresses</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.keyboardEvent-c.html">Dom_html.keyboardEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALkeydowns"><span class="keyword">val</span> keydowns</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.keyboardEvent-c.html">Dom_html.keyboardEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALkeyups"><span class="keyword">val</span> keyups</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.keyboardEvent-c.html">Dom_html.keyboardEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdragstarts"><span class="keyword">val</span> dragstarts</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdragends"><span class="keyword">val</span> dragends</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdragenters"><span class="keyword">val</span> dragenters</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdragovers"><span class="keyword">val</span> dragovers</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdragleaves"><span class="keyword">val</span> dragleaves</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdrags"><span class="keyword">val</span> drags</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALdrops"><span class="keyword">val</span> drops</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.dragEvent-c.html">Dom_html.dragEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALmousewheels"><span class="keyword">val</span> mousewheels</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.mouseEvent-c.html">Dom_html.mouseEvent</a> <a href="Js.html#TYPEt">Js.t</a> * (int * int) -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALtouchstarts"><span class="keyword">val</span> touchstarts</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALtouchmoves"><span class="keyword">val</span> touchmoves</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALtouchends"><span class="keyword">val</span> touchends</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre><pre><span id="VALtouchcancels"><span class="keyword">val</span> touchcancels</span> : <code class="type">?use_capture:bool -><br>       #<a href="Dom_html.eventTarget-c.html">Dom_html.eventTarget</a> <a href="Js.html#TYPEt">Js.t</a> -><br>       (<a href="Dom_html.touchEvent-c.html">Dom_html.touchEvent</a> <a href="Js.html#TYPEt">Js.t</a> -> unit Lwt.t) -> 'a Lwt.t</code></pre></body></html>