comparison doc/manual.tex @ 1559:df6a7a22760a

New Basis functions: preventDefault and stopPropagation (code contributed by Vladimir Shabanov)
author Adam Chlipala <adam@chlipala.net>
date Sun, 11 Sep 2011 14:14:49 -0400
parents e1f5d9c4cc20
children da11f7b18067
comparison
equal deleted inserted replaced
1558:6fe6bda2b928 1559:df6a7a22760a
1981 \mt{val} \; \mt{onKeyup} : (\mt{int} \to \mt{transaction} \; \mt{unit}) \to \mt{transaction} \; \mt{unit} \\ 1981 \mt{val} \; \mt{onKeyup} : (\mt{int} \to \mt{transaction} \; \mt{unit}) \to \mt{transaction} \; \mt{unit} \\
1982 \mt{val} \; \mt{onMousedown} : \mt{transaction} \; \mt{unit} \to \mt{transaction} \; \mt{unit} \\ 1982 \mt{val} \; \mt{onMousedown} : \mt{transaction} \; \mt{unit} \to \mt{transaction} \; \mt{unit} \\
1983 \mt{val} \; \mt{onMouseup} : \mt{transaction} \; \mt{unit} \to \mt{transaction} \; \mt{unit} 1983 \mt{val} \; \mt{onMouseup} : \mt{transaction} \; \mt{unit} \to \mt{transaction} \; \mt{unit}
1984 \end{array}$$ 1984 \end{array}$$
1985 1985
1986 Versions of standard JavaScript functions are provided that event handlers may call to mask default handling or prevent bubbling of events up to parent DOM nodes, respectively.
1987
1988 $$\begin{array}{l}
1989 \mt{val} \; \mt{preventDefault} : \mt{transaction} \; \mt{unit} \\
1990 \mt{val} \; \mt{stopPropagation} : \mt{transaction} \; \mt{unit}
1991 \end{array}$$
1992
1986 \subsubsection{Node IDs} 1993 \subsubsection{Node IDs}
1987 1994
1988 There is an abstract type of node IDs that may be assigned to \cd{id} attributes of most HTML tags. 1995 There is an abstract type of node IDs that may be assigned to \cd{id} attributes of most HTML tags.
1989 1996
1990 $$\begin{array}{l} 1997 $$\begin{array}{l}