Mercurial > gui
view examples/dateboxMain.ur @ 29:93140c5cc972
Clean up dependencies and examples; add Style module
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 12 May 2012 10:03:44 -0400 |
parents | examples/datebox.ur@554e342665fe |
children |
line wrap: on
line source
fun main () = tm <- now; dayCtl <- Datebox.create tm; load <- return (Datebox.onChange dayCtl (fn d => alert (show d.Day))); return <xml> <head><title>Datebox Example</title></head> <body onload={load}> {Gui.toXml dayCtl} </body> </xml>