Safe Haskell | None |
---|---|
Language | Haskell2010 |
- open :: MonadDOM m => HTMLDocument -> m ()
- close :: MonadDOM m => HTMLDocument -> m ()
- write :: (MonadDOM m, ToJSString text) => HTMLDocument -> text -> m ()
- writeln :: (MonadDOM m, ToJSString text) => HTMLDocument -> text -> m ()
- clear :: MonadDOM m => HTMLDocument -> m ()
- captureEvents :: MonadDOM m => HTMLDocument -> m ()
- releaseEvents :: MonadDOM m => HTMLDocument -> m ()
- getEmbeds :: MonadDOM m => HTMLDocument -> m (Maybe HTMLCollection)
- getEmbedsUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLCollection
- getEmbedsUnchecked :: MonadDOM m => HTMLDocument -> m HTMLCollection
- getPlugins :: MonadDOM m => HTMLDocument -> m (Maybe HTMLCollection)
- getPluginsUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLCollection
- getPluginsUnchecked :: MonadDOM m => HTMLDocument -> m HTMLCollection
- getScripts :: MonadDOM m => HTMLDocument -> m (Maybe HTMLCollection)
- getScriptsUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLCollection
- getScriptsUnchecked :: MonadDOM m => HTMLDocument -> m HTMLCollection
- getAll :: MonadDOM m => HTMLDocument -> m (Maybe HTMLAllCollection)
- getAllUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLAllCollection
- getAllUnchecked :: MonadDOM m => HTMLDocument -> m HTMLAllCollection
- getWidth :: MonadDOM m => HTMLDocument -> m Int
- getHeight :: MonadDOM m => HTMLDocument -> m Int
- setDir :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m ()
- getDir :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result)
- getDirUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result
- getDirUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- setDesignMode :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m ()
- getDesignMode :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result)
- getDesignModeUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result
- getDesignModeUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- getCompatMode :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- setBgColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m ()
- getBgColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result)
- getBgColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result
- getBgColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- setFgColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m ()
- getFgColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result)
- getFgColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result
- getFgColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- setAlinkColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m ()
- getAlinkColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result)
- getAlinkColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result
- getAlinkColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- setLinkColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m ()
- getLinkColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result)
- getLinkColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result
- getLinkColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- setVlinkColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m ()
- getVlinkColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result)
- getVlinkColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result
- getVlinkColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result
- newtype HTMLDocument = HTMLDocument {}
- gTypeHTMLDocument :: JSM GType
Documentation
open :: MonadDOM m => HTMLDocument -> m () Source #
close :: MonadDOM m => HTMLDocument -> m () Source #
write :: (MonadDOM m, ToJSString text) => HTMLDocument -> text -> m () Source #
writeln :: (MonadDOM m, ToJSString text) => HTMLDocument -> text -> m () Source #
clear :: MonadDOM m => HTMLDocument -> m () Source #
captureEvents :: MonadDOM m => HTMLDocument -> m () Source #
releaseEvents :: MonadDOM m => HTMLDocument -> m () Source #
getEmbeds :: MonadDOM m => HTMLDocument -> m (Maybe HTMLCollection) Source #
getEmbedsUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLCollection Source #
getEmbedsUnchecked :: MonadDOM m => HTMLDocument -> m HTMLCollection Source #
getPlugins :: MonadDOM m => HTMLDocument -> m (Maybe HTMLCollection) Source #
getPluginsUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLCollection Source #
getPluginsUnchecked :: MonadDOM m => HTMLDocument -> m HTMLCollection Source #
getScripts :: MonadDOM m => HTMLDocument -> m (Maybe HTMLCollection) Source #
getScriptsUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLCollection Source #
getScriptsUnchecked :: MonadDOM m => HTMLDocument -> m HTMLCollection Source #
getAll :: MonadDOM m => HTMLDocument -> m (Maybe HTMLAllCollection) Source #
getAllUnsafe :: (MonadDOM m, HasCallStack) => HTMLDocument -> m HTMLAllCollection Source #
getAllUnchecked :: MonadDOM m => HTMLDocument -> m HTMLAllCollection Source #
setDir :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m () Source #
getDir :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result) Source #
getDirUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result Source #
getDirUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
setDesignMode :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m () Source #
getDesignMode :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result) Source #
getDesignModeUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result Source #
getDesignModeUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
getCompatMode :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
setBgColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m () Source #
getBgColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result) Source #
getBgColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result Source #
getBgColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
setFgColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m () Source #
getFgColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result) Source #
getFgColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result Source #
getFgColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
setAlinkColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m () Source #
getAlinkColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result) Source #
getAlinkColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result Source #
getAlinkColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
setLinkColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m () Source #
getLinkColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result) Source #
getLinkColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result Source #
getLinkColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
setVlinkColor :: (MonadDOM m, ToJSString val) => HTMLDocument -> Maybe val -> m () Source #
getVlinkColor :: (MonadDOM m, FromJSString result) => HTMLDocument -> m (Maybe result) Source #
getVlinkColorUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => HTMLDocument -> m result Source #
getVlinkColorUnchecked :: (MonadDOM m, FromJSString result) => HTMLDocument -> m result Source #
newtype HTMLDocument Source #
Functions for this inteface are in JSDOM.HTMLDocument. Base interface functions are in: