view demo/react.ur @ 1898:9eb337d1d7b6

Add more include files to EXTRA_DIST
author Adam Chlipala <adam@chlipala.net>
date Thu, 21 Nov 2013 15:06:41 -0500
parents e6bc6bbd7a32
children
line wrap: on
line source
fun main () =
  s <- source "You didn't click it yet.";
  return <xml><body>
    <button value="Click me!" onclick={fn _ => set s "Now you clicked it."}/><br/>
    <dyn signal={v <- signal s; return <xml>{[v]}</xml>}/>
  </body></xml>