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