summaryrefslogtreecommitdiff
path: root/tests/ccheckbox.ur
blob: 09a8ece92d6c504fb85d80695442ae7c0c0648e0 (plain)
1
2
3
4
5
6
7
8
fun main () : transaction page =
    s <- source True;
    t <- source 1;
    return <xml><body><ccheckbox source={s} onclick={set t 3}/>
      <dyn signal={s <- signal s;
                   t <- signal t;
                   return <xml>{[s]} {[t]}</xml>}/>
    </body></xml>