ghcjs-dom-0.2.3.1: DOM library that supports both GHCJS and WebKitGTK

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM

Synopsis

Documentation

runWebGUI :: (WebView -> IO ()) -> IO () Source

postGUISync :: IO a -> IO a

Post an action to be run in the main GUI thread.

The current thread blocks until the action completes and the result is returned.

postGUIAsync :: IO () -> IO ()

Post an action to be run in the main GUI thread.

The current thread continues and does not wait for the result of the action.