Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- addStyle :: MonadJSM m => Text -> m ()
- addInlineStyle :: ToJSString css => MonadJSM m => css -> m ()
- setTitle :: MonadJSM m => Text -> m ()
- getBody :: MonadJSM m => m RawNode
- addMeta :: MonadJSM m => [(Text, Text)] -> m ()
- createDivWithId :: MonadJSM m => Text -> m ()
- addScriptSrc :: MonadJSM m => Text -> m ()
- addScriptText :: MonadJSM m => Text -> m ()
- getById :: MonadJSM m => Text -> m RawNode
- treatEmpty :: Foldable f => Functor f => a -> (f a -> a) -> (b -> a) -> f b -> a
Documentation
Add a stylesheet to the page via link
tag.
addInlineStyle :: ToJSString css => MonadJSM m => css -> m () Source #
createDivWithId :: MonadJSM m => Text -> m () Source #
addScriptSrc :: MonadJSM m => Text -> m () Source #
addScriptText :: MonadJSM m => Text -> m () Source #
treatEmpty :: Foldable f => Functor f => a -> (f a -> a) -> (b -> a) -> f b -> a Source #