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

Safe HaskellNone
LanguageHaskell2010

JavaScript.Extras.Property

Synopsis

Documentation

getProperty :: JSString -> JSVal -> IO JSVal Source #

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

setProperty :: Property -> JSVal -> IO () Source #

set a property of any JSVal