annotate tests/docevents.ur @ 2062:795b5b75453c

Add 'role' data attribute. Note, that 'role' attribute is a part of reach ARIA API described here: http://www.w3.org/TR/wai-aria/ Among 'role', it defines lots of aria-* attributes
author Sergey Mironov <grrwlf@gmail.com>
date Mon, 07 Jul 2014 10:05:04 +0400
parents d5c961c709f9
children e8863d9f8c59
rev   line source
adam@1555 1 fun main () : transaction page = return <xml>
adam@1555 2 <body onload={onDblclick (alert "Double click");
adam@1555 3 onKeypress (fn k => alert ("Keypress: " ^ show k))}>
adam@1555 4 Nothing here.
adam@1555 5 </body>
adam@1555 6 </xml>