Mercurial > urweb
view tests/babySpawn.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 | d2383ffc18ab |
children |
line wrap: on
line source
fun main () : transaction page = return <xml><body> <button onclick={fn _ => spawn (alert "Hi")}/> </body></xml>