jsaddle-dom-0.9.9.2: DOM library that uses jsaddle to support both GHCJS and GHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

JSDOM.Custom.Window

Synopsis

Documentation

newtype Window Source #

Constructors

Window 

Fields

Instances

Instances details
FromJSVal Window Source # 
Instance details

Defined in JSDOM.Types

PFromJSVal Window Source # 
Instance details

Defined in JSDOM.Types

Methods

pFromJSVal :: JSVal -> Window #

PToJSVal Window Source # 
Instance details

Defined in JSDOM.Types

Methods

pToJSVal :: Window -> JSVal #

ToJSVal Window Source # 
Instance details

Defined in JSDOM.Types

MakeObject Window Source # 
Instance details

Defined in JSDOM.Types

IsEventTarget Window Source # 
Instance details

Defined in JSDOM.Types

IsGObject Window Source # 
Instance details

Defined in JSDOM.Types

Methods

typeGType :: Window -> JSM GType

IsGlobalCrypto Window Source # 
Instance details

Defined in JSDOM.Types

IsGlobalEventHandlers Window Source # 
Instance details

Defined in JSDOM.Types

IsGlobalPerformance Window Source # 
Instance details

Defined in JSDOM.Types

IsMessageEventSource Window Source # 
Instance details

Defined in JSDOM.Types

IsWindowEventHandlers Window Source # 
Instance details

Defined in JSDOM.Types

IsWindowOrWorkerGlobalScope Window Source # 
Instance details

Defined in JSDOM.Types

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

postMessage :: (MonadDOM m, ToJSVal message, ToJSString targetOrigin, IsGObject transfer) => Window -> message -> targetOrigin -> [transfer] -> m () Source #

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

open_ :: (MonadDOM m, ToJSString url, ToJSString target, ToJSString features) => Window -> Maybe url -> Maybe target -> Maybe features -> m () Source #

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

openUnchecked :: (MonadDOM m, ToJSString url, ToJSString target, ToJSString features) => Window -> Maybe url -> Maybe target -> Maybe features -> m Window Source #

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

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

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

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

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

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

showModalDialog :: (MonadDOM m, ToJSString url, ToJSVal dialogArgs, ToJSString featureArgs) => Window -> url -> Maybe dialogArgs -> Maybe featureArgs -> m JSVal Source #

showModalDialog_ :: (MonadDOM m, ToJSString url, ToJSVal dialogArgs, ToJSString featureArgs) => Window -> url -> Maybe dialogArgs -> Maybe featureArgs -> m () Source #

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