annotate tests/reactive3.ur @ 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 0094e0242100
children
rev   line source
adamc@579 1 fun main () : transaction page =
adamc@579 2 x <- source <xml>TEST</xml>;
adamc@579 3 return <xml><body>
adamc@579 4 <dyn signal={signal x}/>
adamc@579 5 <br/>
adamc@579 6 <a onclick={alert "Changing...."; set x <xml>CHANGEUP</xml>}>Oh My</a>
adamc@579 7 </body></xml>