Mercurial > urweb
view demo/link.ur @ 1559:df6a7a22760a
New Basis functions: preventDefault and stopPropagation (code contributed by Vladimir Shabanov)
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 11 Sep 2011 14:14:49 -0400 |
parents | 6a0e54400805 |
children |
line wrap: on
line source
fun target () = return <xml><body> Welcome! </body></xml> fun main () = return <xml><body> <a link={target ()}>Go there</a> </body></xml>