comparison tests/reactive3.ur @ 579:0094e0242100

Propagated a source change into a dynamic document element
author Adam Chlipala <adamc@hcoop.net>
date Tue, 30 Dec 2008 15:53:04 -0500
parents
children
comparison
equal deleted inserted replaced
578:1e589a60b86f 579:0094e0242100
1 fun main () : transaction page =
2 x <- source <xml>TEST</xml>;
3 return <xml><body>
4 <dyn signal={signal x}/>
5 <br/>
6 <a onclick={alert "Changing...."; set x <xml>CHANGEUP</xml>}>Oh My</a>
7 </body></xml>