summaryrefslogtreecommitdiff
path: root/tests/dcol.ur
blob: b52cf3e4d037ecc2afe1f3f93a3e48dbe0d96140 (plain)
1
2
3
4
5
6
7
8
fun main () =
  s <- source <xml><td>A</td><td>A'</td></xml>;
  return <xml><body>
    <button value="Click me!" onclick={set s <xml><td>B</td><td>B'</td></xml>}/><br/>
    <table><tr><td>Pre</td><td>Pre'</td></tr>
      <tr><td>Hehe</td><dyn signal={signal s}/><td>Hoho</td></tr>
      <tr><td>Post</td><td>Post</td><td>Post'</td></tr></table>
  </body></xml>