threepenny-gui-0.2.0.1: Small GUI framework that uses the web browser as a display.

Safe HaskellNone

Graphics.UI.Threepenny.Timer

Contents

Synopsis

Synopsis

Implementation of a simple timer which runs on the server-side.

Documentation

timer :: IO TimerSource

Create a new timer

interval :: Attr Timer IntSource

Timer interval in milliseconds.

running :: Attr Timer BoolSource

Whether the timer is running or not.

start :: Timer -> IO ()Source

Start the timer.

stop :: Timer -> IO ()Source

Stop the timer.