Copyright | (C) 2016-2018 David M. Johnson |
---|---|
License | BSD3-style (see the file LICENSE) |
Maintainer | David M. Johnson <djohnson.m@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
newtype EventSource Source #
new :: MisoString -> JSM EventSource Source #
addEventListener :: EventSource -> MisoString -> (JSVal -> JSM ()) -> JSM () Source #