javascript-extras-0.3.2.0: Extra javascript functions when using GHCJS

Safe HaskellNone
LanguageHaskell2010

JavaScript.Extras.Property

Synopsis

Documentation

getProperty :: Coercible a JSVal => JSString -> a -> IO JSVar #

get a property of any JSVal. If a null or undefined is queried, the result will also be null

setProperty :: Coercible a JSVal => Property -> a -> IO () #

set a property of any JSVal