content: {-# LANGUAGE PatternSynonyms #-}
  {-# LANGUAGE ForeignFunctionInterface #-}
  {-# LANGUAGE JavaScriptFFI #-}
  -- For HasCallStack compatibility
  {-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
  module GHCJS.DOM.JSFFI.Generated.HTMLEmbedElement
         (js_getSVGDocument, getSVGDocument, getSVGDocument_, js_setAlign,
          setAlign, js_getAlign, getAlign, js_setHeight, setHeight,
          js_getHeight, getHeight, js_setName, setName, js_getName, getName,
          js_setSrc, setSrc, js_getSrc, getSrc, js_setType, setType,
          js_getType, getType, js_setWidth, setWidth, js_getWidth, getWidth,
          HTMLEmbedElement(..), gTypeHTMLEmbedElement)
         where
  import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, maybe, fromIntegral, round, fmap, Show, Read, Eq, Ord)
  import qualified Prelude (error)
  import Data.Typeable (Typeable)
  import GHCJS.Types (JSVal(..), JSString)
  import GHCJS.Foreign (jsNull, jsUndefined)
  import GHCJS.Foreign.Callback (syncCallback, asyncCallback, syncCallback1, asyncCallback1, syncCallback2, asyncCallback2, OnBlocked(..))
  import GHCJS.Marshal (ToJSVal(..), FromJSVal(..))
  import GHCJS.Marshal.Pure (PToJSVal(..), PFromJSVal(..))
  import Control.Monad (void)
  import Control.Monad.IO.Class (MonadIO(..))
  import Data.Int (Int64)
  import Data.Word (Word, Word64)
  import Data.Maybe (fromJust)
  import Data.Traversable (mapM)
  import GHCJS.DOM.Types
  import Control.Applicative ((<$>))
  import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
  import GHCJS.DOM.JSFFI.Generated.Enums
   
  foreign import javascript safe "$1[\"getSVGDocument\"]()"
          js_getSVGDocument :: HTMLEmbedElement -> IO Document
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.getSVGDocument Mozilla HTMLEmbedElement.getSVGDocument documentation> 
  getSVGDocument :: (MonadIO m) => HTMLEmbedElement -> m Document
  getSVGDocument self = liftIO (js_getSVGDocument self)
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.getSVGDocument Mozilla HTMLEmbedElement.getSVGDocument documentation> 
  getSVGDocument_ :: (MonadIO m) => HTMLEmbedElement -> m ()
  getSVGDocument_ self = liftIO (void (js_getSVGDocument self))
   
  foreign import javascript unsafe "$1[\"align\"] = $2;" js_setAlign
          :: HTMLEmbedElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.align Mozilla HTMLEmbedElement.align documentation> 
  setAlign ::
           (MonadIO m, ToJSString val) => HTMLEmbedElement -> val -> m ()
  setAlign self val = liftIO (js_setAlign self (toJSString val))
   
  foreign import javascript unsafe "$1[\"align\"]" js_getAlign ::
          HTMLEmbedElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.align Mozilla HTMLEmbedElement.align documentation> 
  getAlign ::
           (MonadIO m, FromJSString result) => HTMLEmbedElement -> m result
  getAlign self = liftIO (fromJSString <$> (js_getAlign self))
   
  foreign import javascript unsafe "$1[\"height\"] = $2;"
          js_setHeight :: HTMLEmbedElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.height Mozilla HTMLEmbedElement.height documentation> 
  setHeight ::
            (MonadIO m, ToJSString val) => HTMLEmbedElement -> val -> m ()
  setHeight self val = liftIO (js_setHeight self (toJSString val))
   
  foreign import javascript unsafe "$1[\"height\"]" js_getHeight ::
          HTMLEmbedElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.height Mozilla HTMLEmbedElement.height documentation> 
  getHeight ::
            (MonadIO m, FromJSString result) => HTMLEmbedElement -> m result
  getHeight self = liftIO (fromJSString <$> (js_getHeight self))
   
  foreign import javascript unsafe "$1[\"name\"] = $2;" js_setName ::
          HTMLEmbedElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.name Mozilla HTMLEmbedElement.name documentation> 
  setName ::
          (MonadIO m, ToJSString val) => HTMLEmbedElement -> val -> m ()
  setName self val = liftIO (js_setName self (toJSString val))
   
  foreign import javascript unsafe "$1[\"name\"]" js_getName ::
          HTMLEmbedElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.name Mozilla HTMLEmbedElement.name documentation> 
  getName ::
          (MonadIO m, FromJSString result) => HTMLEmbedElement -> m result
  getName self = liftIO (fromJSString <$> (js_getName self))
   
  foreign import javascript unsafe "$1[\"src\"] = $2;" js_setSrc ::
          HTMLEmbedElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.src Mozilla HTMLEmbedElement.src documentation> 
  setSrc ::
         (MonadIO m, ToJSString val) => HTMLEmbedElement -> val -> m ()
  setSrc self val = liftIO (js_setSrc self (toJSString val))
   
  foreign import javascript unsafe "$1[\"src\"]" js_getSrc ::
          HTMLEmbedElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.src Mozilla HTMLEmbedElement.src documentation> 
  getSrc ::
         (MonadIO m, FromJSString result) => HTMLEmbedElement -> m result
  getSrc self = liftIO (fromJSString <$> (js_getSrc self))
   
  foreign import javascript unsafe "$1[\"type\"] = $2;" js_setType ::
          HTMLEmbedElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.type Mozilla HTMLEmbedElement.type documentation> 
  setType ::
          (MonadIO m, ToJSString val) => HTMLEmbedElement -> val -> m ()
  setType self val = liftIO (js_setType self (toJSString val))
   
  foreign import javascript unsafe "$1[\"type\"]" js_getType ::
          HTMLEmbedElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.type Mozilla HTMLEmbedElement.type documentation> 
  getType ::
          (MonadIO m, FromJSString result) => HTMLEmbedElement -> m result
  getType self = liftIO (fromJSString <$> (js_getType self))
   
  foreign import javascript unsafe "$1[\"width\"] = $2;" js_setWidth
          :: HTMLEmbedElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.width Mozilla HTMLEmbedElement.width documentation> 
  setWidth ::
           (MonadIO m, ToJSString val) => HTMLEmbedElement -> val -> m ()
  setWidth self val = liftIO (js_setWidth self (toJSString val))
   
  foreign import javascript unsafe "$1[\"width\"]" js_getWidth ::
          HTMLEmbedElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement.width Mozilla HTMLEmbedElement.width documentation> 
  getWidth ::
           (MonadIO m, FromJSString result) => HTMLEmbedElement -> m result
  getWidth self = liftIO (fromJSString <$> (js_getWidth self))