view tests/plink.ur @ 2156:d857da05f042

Allow mouse and key events for <body>
author Adam Chlipala <adam@chlipala.net>
date Thu, 02 Jul 2015 12:42:49 -0400
parents 71bafe66dbe1
children
line wrap: on
line source
val pA = fn size => <html><body>
        <font size={size}>Hello World!</font>
</body></html>

val main : unit -> page = fn () => <html><body>
        <li> <a link={pA 5}>Size 5</a></li>
        <li> <a link={pA 10}>Size 10</a></li>
</body></html>