{-# LANGUAGE PatternSynonyms, ForeignFunctionInterface, JavaScriptFFI #-} module GHCJS.DOM.JSFFI.Generated.HTMLModElement (js_setCite, setCite, js_getCite, getCite, js_setDateTime, setDateTime, js_getDateTime, getDateTime, HTMLModElement, castToHTMLModElement, gTypeHTMLModElement) where import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, maybe, fromIntegral, round, fmap, Show, Read, Eq, Ord) import Data.Typeable (Typeable) import GHCJS.Types (JSRef(..), JSString, castRef) import GHCJS.Foreign (jsNull) import GHCJS.Foreign.Callback (syncCallback, asyncCallback, syncCallback1, asyncCallback1, syncCallback2, asyncCallback2, OnBlocked(..)) import GHCJS.Marshal (ToJSRef(..), FromJSRef(..)) import GHCJS.Marshal.Pure (PToJSRef(..), PFromJSRef(..)) import Control.Monad.IO.Class (MonadIO(..)) import Data.Int (Int64) import Data.Word (Word, Word64) import GHCJS.DOM.Types import Control.Applicative ((<$>)) import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName) import GHCJS.DOM.Enums foreign import javascript unsafe "$1[\"cite\"] = $2;" js_setCite :: JSRef HTMLModElement -> JSString -> IO () -- | setCite :: (MonadIO m, ToJSString val) => HTMLModElement -> val -> m () setCite self val = liftIO (js_setCite (unHTMLModElement self) (toJSString val)) foreign import javascript unsafe "$1[\"cite\"]" js_getCite :: JSRef HTMLModElement -> IO JSString -- | getCite :: (MonadIO m, FromJSString result) => HTMLModElement -> m result getCite self = liftIO (fromJSString <$> (js_getCite (unHTMLModElement self))) foreign import javascript unsafe "$1[\"dateTime\"] = $2;" js_setDateTime :: JSRef HTMLModElement -> JSString -> IO () -- | setDateTime :: (MonadIO m, ToJSString val) => HTMLModElement -> val -> m () setDateTime self val = liftIO (js_setDateTime (unHTMLModElement self) (toJSString val)) foreign import javascript unsafe "$1[\"dateTime\"]" js_getDateTime :: JSRef HTMLModElement -> IO JSString -- | getDateTime :: (MonadIO m, FromJSString result) => HTMLModElement -> m result getDateTime self = liftIO (fromJSString <$> (js_getDateTime (unHTMLModElement self)))