jsaddle-dom-0.7.0.1: DOM library that uses jsaddle to support both GHCJS and GHC

Safe HaskellNone
LanguageHaskell2010

JSDOM.Generated.Window

Synopsis

Documentation

openDatabase :: (MonadDOM m, ToJSString name, ToJSString version, ToJSString displayName) => Window -> name -> version -> displayName -> Word -> Maybe DatabaseCallback -> m (Maybe Database) Source #

openDatabase_ :: (MonadDOM m, ToJSString name, ToJSString version, ToJSString displayName) => Window -> name -> version -> displayName -> Word -> Maybe DatabaseCallback -> m () Source #

open :: (MonadDOM m, ToJSString url, ToJSString name, ToJSString options) => Window -> url -> name -> options -> m (Maybe Window) Source #

open_ :: (MonadDOM m, ToJSString url, ToJSString name, ToJSString options) => Window -> url -> name -> options -> m () Source #

openUnchecked :: (MonadDOM m, ToJSString url, ToJSString name, ToJSString options) => Window -> url -> name -> options -> m Window Source #

prompt :: (MonadDOM m, ToJSString message, ToJSString defaultValue, FromJSString result) => Window -> message -> Maybe defaultValue -> m (Maybe result) Source #

prompt_ :: (MonadDOM m, ToJSString message, ToJSString defaultValue) => Window -> message -> Maybe defaultValue -> m () Source #

promptUnsafe :: (MonadDOM m, ToJSString message, ToJSString defaultValue, HasCallStack, FromJSString result) => Window -> message -> Maybe defaultValue -> m result Source #

promptUnchecked :: (MonadDOM m, ToJSString message, ToJSString defaultValue, FromJSString result) => Window -> message -> Maybe defaultValue -> m result Source #

find :: (MonadDOM m, ToJSString string) => Window -> string -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> m Bool Source #

find_ :: (MonadDOM m, ToJSString string) => Window -> string -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> m () Source #

getComputedStyle_ :: (MonadDOM m, IsElement element, ToJSString pseudoElement) => Window -> Maybe element -> Maybe pseudoElement -> m () Source #

getMatchedCSSRules_ :: (MonadDOM m, IsElement element, ToJSString pseudoElement) => Window -> Maybe element -> Maybe pseudoElement -> m () Source #

postMessage :: (MonadDOM m, IsSerializedScriptValue message, ToJSString targetOrigin, IsArray messagePorts) => Window -> Maybe message -> targetOrigin -> Maybe messagePorts -> m () Source #