jsaddle-0.9.6.0: Interface for JavaScript that works with GHCJS and GHC

Safe HaskellNone
LanguageHaskell2010

JavaScript.Object.Internal

Synopsis

Documentation

newtype Object Source #

See Object

Constructors

Object JSVal 
Instances
MakeObject Object Source #

If we already have a Object we are fine

Instance details

Defined in Language.Javascript.JSaddle.Classes.Internal

ToJSVal Object Source # 
Instance details

Defined in Language.Javascript.JSaddle.Value

create :: JSM Object Source #

create an empty object

getProp :: JSString -> Object -> JSM JSVal Source #

get a property from an object. If accessing the property results in an exception, the exception is converted to a JSException. Since exception handling code prevents some optimizations in some JS engines, you may want to use unsafeGetProp instead