Mercurial > urweb
view tests/ctextarea.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 | 118ab9641a64 |
children |
line wrap: on
line source
fun main () = s <- source "DEFAULT"; return <xml><body> <ctextarea rows={2} source={s}/><br/> <br/> <dyn signal={s <- signal s; return (cdata s)}/> </body></xml>