plzwrk-0.0.0.2: A front-end framework

Copyright(c) Mike Solomon 2020
LicenseGPL-3
Maintainermike@meeshkan.com
Stabilityexperimental
PortabilityPOSIX, Windows
Safe HaskellNone
LanguageHaskell2010

Web.Framework.Plzwrk.MockJSVal

Description

This module exports a mock browser called defaultInternalBrowser used in plzwrk's tests and that can be used in your unit tests as well.

Documentation

data MockJSVal Source #

Constructors

MockJSElement Int String MockAttributes [MockJSVal] [LogEvent] 
MockJSTextNode Int String [LogEvent] 
MockJSFunction Int (MockJSVal -> IO ()) [LogEvent] 
MockJSObject Int (HashMap String MockJSVal) [LogEvent] 
MockJSString Int String [LogEvent] 
MockJSNumber Int Double [LogEvent] 
MockJSArray Int [MockJSVal] [LogEvent] 
MockMouseEvent Int 
Instances
Show MockJSVal Source # 
Instance details

Defined in Web.Framework.Plzwrk.MockJSVal

defaultInternalBrowser :: IO (IORef MockBrowserInternal) Source #