view tests/ctextboxAttrs.ur @ 2250:c275bbc41194

Start work on pure expression caching.
author Ziv Scully <ziv@mit.edu>
date Sun, 13 Sep 2015 16:02:45 -0400
parents 2e01a36701eb
children
line wrap: on
line source
fun main () : transaction page =
    s <- source "Initial";
    return <xml><body>
      <ctextbox source={s} onclick={fn ev => alert ("Clicky " ^ show ev.ScreenX)}
                           onkeypress={fn ev => alert ("Code " ^ show ev.KeyCode)}/>
    </body></xml>