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

Safe HaskellNone
LanguageHaskell2010

JSDOM.Custom.Window

Synopsis

Documentation

newtype Window Source #

Constructors

Window 

Fields

Instances
PToJSVal Window Source # 
Instance details

Defined in JSDOM.Types

Methods

pToJSVal :: Window -> JSVal #

PFromJSVal Window Source # 
Instance details

Defined in JSDOM.Types

Methods

pFromJSVal :: JSVal -> Window #

ToJSVal Window Source # 
Instance details

Defined in JSDOM.Types

FromJSVal Window Source # 
Instance details

Defined in JSDOM.Types

MakeObject Window Source # 
Instance details

Defined in JSDOM.Types

IsWindowOrWorkerGlobalScope Window Source # 
Instance details

Defined in JSDOM.Types

IsWindowEventHandlers Window Source # 
Instance details

Defined in JSDOM.Types

IsGlobalPerformance Window Source # 
Instance details

Defined in JSDOM.Types

IsGlobalEventHandlers Window Source # 
Instance details

Defined in JSDOM.Types

IsGlobalCrypto Window Source # 
Instance details

Defined in JSDOM.Types

IsEventTarget Window Source # 
Instance details

Defined in JSDOM.Types

IsMessageEventSource Window Source # 
Instance details

Defined in JSDOM.Types

IsGObject Window Source # 
Instance details

Defined in JSDOM.Types

Methods

typeGType :: Window -> JSM GType

openDatabase_ :: (MonadDOM m, ToJSString name, ToJSString version, ToJSString displayName) => Window -> name -> version -> displayName -> Word -> Maybe DatabaseCallback -> 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 #

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, FromJSString result) => Window -> Maybe message -> Maybe defaultValue -> m (Maybe result) 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 #

postMessage :: (MonadDOM m, ToJSVal message, ToJSString targetOrigin, IsGObject transfer) => Window -> message -> targetOrigin -> [transfer] -> m () 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 #