Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- addListener :: MonadDOM m => MediaQueryList -> Maybe MediaQueryListListener -> m ()
- removeListener :: MonadDOM m => MediaQueryList -> Maybe MediaQueryListListener -> m ()
- getMedia :: (MonadDOM m, FromJSString result) => MediaQueryList -> m result
- getMatches :: MonadDOM m => MediaQueryList -> m Bool
- newtype MediaQueryList = MediaQueryList {}
- gTypeMediaQueryList :: JSM GType
Documentation
addListener :: MonadDOM m => MediaQueryList -> Maybe MediaQueryListListener -> m () Source #
removeListener :: MonadDOM m => MediaQueryList -> Maybe MediaQueryListListener -> m () Source #
getMedia :: (MonadDOM m, FromJSString result) => MediaQueryList -> m result Source #
getMatches :: MonadDOM m => MediaQueryList -> m Bool Source #
newtype MediaQueryList Source #
Functions for this inteface are in JSDOM.MediaQueryList.
Instances
PToJSVal MediaQueryList Source # | |
Defined in JSDOM.Types pToJSVal :: MediaQueryList -> JSVal # | |
PFromJSVal MediaQueryList Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MediaQueryList # | |
ToJSVal MediaQueryList Source # | |
Defined in JSDOM.Types toJSVal :: MediaQueryList -> JSM JSVal # toJSValListOf :: [MediaQueryList] -> JSM JSVal # | |
FromJSVal MediaQueryList Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MediaQueryList) # fromJSValUnchecked :: JSVal -> JSM MediaQueryList # fromJSValListOf :: JSVal -> JSM (Maybe [MediaQueryList]) # fromJSValUncheckedListOf :: JSVal -> JSM [MediaQueryList] # | |
MakeObject MediaQueryList Source # | |
Defined in JSDOM.Types makeObject :: MediaQueryList -> JSM Object # | |
IsGObject MediaQueryList Source # | |
Defined in JSDOM.Types typeGType :: MediaQueryList -> JSM GType |