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 | None |
Language | Haskell2010 |
Synopsis
- focus :: MisoString -> JSM ()
- blur :: MisoString -> JSM ()
- scrollIntoView :: MisoString -> JSM ()
- alert :: MisoString -> JSM ()
Documentation
focus :: MisoString -> JSM () Source #
Fails silently if the element is not found.
Analogous to document.getElementById(id).focus()
.
blur :: MisoString -> JSM () Source #
Fails silently if the element is not found.
Analogous to document.getElementById(id).blur()
scrollIntoView :: MisoString -> JSM () Source #
Calls document.getElementById(id).scrollIntoView()
alert :: MisoString -> JSM () Source #
Calls the alert()
function.