You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't seem to work. I've tried in recent versions of Chrome.
main = runWebGUI $\ webView -> fun
fun =do
maybeWindow <- currentWindow
case maybeWindow ofNothing->error"could not access current window"Just win -> join $ domWindowOnhashchange win showHash
showHash::IsDOMWindowself=>EventMUIEventself()
showHash = liftIO $putStrLn"The Hash has changed!"
The text was updated successfully, but these errors were encountered:
ExternalReality
changed the title
can register event handler on hash change
can't register event handler on hash change
Feb 8, 2015
This doesn't seem to work. I've tried in recent versions of Chrome.
The text was updated successfully, but these errors were encountered: