miso-0.16.0.0: A tasty Haskell front-end framework

Copyright(C) 2016-2018 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <djohnson.m@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Effect.DOM

Description

 

Synopsis

Documentation

focus :: MisoString -> IO () Source

Fails silently if the element is not found.

Analogous to document.getElementById(id).focus().

blur :: MisoString -> IO () Source

Fails silently if the element is not found.

Analogous to document.getElementById(id).blur()

alert :: MisoString -> IO () Source

Calls the alert() function.