annotate tests/dcol.ur @ 2119:5439b35c5d0b
Add 'download' attribute to <a/>, part of HTML5
author |
Sergey Mironov <grrwlf@gmail.com> |
date |
Sun, 26 Oct 2014 14:07:07 +0000 |
parents |
63114a2e5075 |
children |
|
rev |
line source |
adamc@903
|
1 fun main () =
|
adamc@903
|
2 s <- source <xml><td>A</td><td>A'</td></xml>;
|
adamc@903
|
3 return <xml><body>
|
adamc@903
|
4 <button value="Click me!" onclick={set s <xml><td>B</td><td>B'</td></xml>}/><br/>
|
adamc@903
|
5 <table><tr><td>Pre</td><td>Pre'</td></tr>
|
adamc@903
|
6 <tr><td>Hehe</td><dyn signal={signal s}/><td>Hoho</td></tr>
|
adamc@903
|
7 <tr><td>Post</td><td>Post</td><td>Post'</td></tr></table>
|
adamc@903
|
8 </body></xml>
|