content: {-# LANGUAGE PatternSynonyms #-}
  {-# LANGUAGE ForeignFunctionInterface #-}
  {-# LANGUAGE JavaScriptFFI #-}
  -- For HasCallStack compatibility
  {-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
  module GHCJS.DOM.JSFFI.Generated.HTMLHRElement
         (js_setAlign, setAlign, js_getAlign, getAlign, js_setColor,
          setColor, js_getColor, getColor, js_setNoShade, setNoShade,
          js_getNoShade, getNoShade, js_setSize, setSize, js_getSize,
          getSize, js_setWidth, setWidth, js_getWidth, getWidth,
          HTMLHRElement(..), gTypeHTMLHRElement)
         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 unsafe "$1[\"align\"] = $2;" js_setAlign
          :: HTMLHRElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.align Mozilla HTMLHRElement.align documentation> 
  setAlign ::
           (MonadIO m, ToJSString val) => HTMLHRElement -> val -> m ()
  setAlign self val = liftIO (js_setAlign self (toJSString val))
   
  foreign import javascript unsafe "$1[\"align\"]" js_getAlign ::
          HTMLHRElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.align Mozilla HTMLHRElement.align documentation> 
  getAlign ::
           (MonadIO m, FromJSString result) => HTMLHRElement -> m result
  getAlign self = liftIO (fromJSString <$> (js_getAlign self))
   
  foreign import javascript unsafe "$1[\"color\"] = $2;" js_setColor
          :: HTMLHRElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.color Mozilla HTMLHRElement.color documentation> 
  setColor ::
           (MonadIO m, ToJSString val) => HTMLHRElement -> val -> m ()
  setColor self val = liftIO (js_setColor self (toJSString val))
   
  foreign import javascript unsafe "$1[\"color\"]" js_getColor ::
          HTMLHRElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.color Mozilla HTMLHRElement.color documentation> 
  getColor ::
           (MonadIO m, FromJSString result) => HTMLHRElement -> m result
  getColor self = liftIO (fromJSString <$> (js_getColor self))
   
  foreign import javascript unsafe "$1[\"noShade\"] = $2;"
          js_setNoShade :: HTMLHRElement -> Bool -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.noShade Mozilla HTMLHRElement.noShade documentation> 
  setNoShade :: (MonadIO m) => HTMLHRElement -> Bool -> m ()
  setNoShade self val = liftIO (js_setNoShade self val)
   
  foreign import javascript unsafe "($1[\"noShade\"] ? 1 : 0)"
          js_getNoShade :: HTMLHRElement -> IO Bool
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.noShade Mozilla HTMLHRElement.noShade documentation> 
  getNoShade :: (MonadIO m) => HTMLHRElement -> m Bool
  getNoShade self = liftIO (js_getNoShade self)
   
  foreign import javascript unsafe "$1[\"size\"] = $2;" js_setSize ::
          HTMLHRElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.size Mozilla HTMLHRElement.size documentation> 
  setSize ::
          (MonadIO m, ToJSString val) => HTMLHRElement -> val -> m ()
  setSize self val = liftIO (js_setSize self (toJSString val))
   
  foreign import javascript unsafe "$1[\"size\"]" js_getSize ::
          HTMLHRElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.size Mozilla HTMLHRElement.size documentation> 
  getSize ::
          (MonadIO m, FromJSString result) => HTMLHRElement -> m result
  getSize self = liftIO (fromJSString <$> (js_getSize self))
   
  foreign import javascript unsafe "$1[\"width\"] = $2;" js_setWidth
          :: HTMLHRElement -> JSString -> IO ()
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.width Mozilla HTMLHRElement.width documentation> 
  setWidth ::
           (MonadIO m, ToJSString val) => HTMLHRElement -> val -> m ()
  setWidth self val = liftIO (js_setWidth self (toJSString val))
   
  foreign import javascript unsafe "$1[\"width\"]" js_getWidth ::
          HTMLHRElement -> IO JSString
  
  -- | <https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement.width Mozilla HTMLHRElement.width documentation> 
  getWidth ::
           (MonadIO m, FromJSString result) => HTMLHRElement -> m result
  getWidth self = liftIO (fromJSString <$> (js_getWidth self))