Mercurial > urweb
view tests/docevents.ur @ 2141:53f91b67006c
Treat "style" as starting an expression in urweb-mode
author | Julian Squires <julian@cipht.net> |
---|---|
date | Tue, 05 May 2015 14:03:06 -0400 |
parents | e8863d9f8c59 |
children |
line wrap: on
line source
fun main () : transaction page = return <xml> <body onload={onDblclick (fn _ => alert "Double click"); onContextmenu (fn _ => alert "Context menu"); onKeypress (fn k => alert ("Keypress: " ^ show k.KeyCode))}> Nothing here. </body> </xml>