Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.