module JSDOM.Generated.HTMLIFrameElement
(getSVGDocument, getSVGDocument_, setAlign, getAlign,
setFrameBorder, getFrameBorder, setHeight, getHeight, setLongDesc,
getLongDesc, setMarginHeight, getMarginHeight, setMarginWidth,
getMarginWidth, setName, getName, getSandbox, setAllowFullscreen,
getAllowFullscreen, setScrolling, getScrolling, setSrc, getSrc,
setSrcdoc, getSrcdoc, setWidth, getWidth, getContentDocument,
getContentWindow, HTMLIFrameElement(..), gTypeHTMLIFrameElement)
where
import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, maybe, fromIntegral, round, realToFrac, fmap, Show, Read, Eq, Ord, Maybe(..))
import qualified Prelude (error)
import Data.Typeable (Typeable)
import Data.Traversable (mapM)
import Language.Javascript.JSaddle (JSM(..), JSVal(..), JSString, strictEqual, toJSVal, valToStr, valToNumber, valToBool, js, jss, jsf, jsg, function, asyncFunction, new, array, jsUndefined, (!), (!!))
import Data.Int (Int64)
import Data.Word (Word, Word64)
import JSDOM.Types
import Control.Applicative ((<$>))
import Control.Monad (void)
import Control.Lens.Operators ((^.))
import JSDOM.EventTargetClosures (EventName, unsafeEventName)
import JSDOM.Enums
getSVGDocument :: (MonadDOM m) => HTMLIFrameElement -> m Document
getSVGDocument self
= liftDOM
((self ^. jsf "getSVGDocument" ()) >>= fromJSValUnchecked)
getSVGDocument_ :: (MonadDOM m) => HTMLIFrameElement -> m ()
getSVGDocument_ self
= liftDOM (void (self ^. jsf "getSVGDocument" ()))
setAlign ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setAlign self val = liftDOM (self ^. jss "align" (toJSVal val))
getAlign ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getAlign self
= liftDOM ((self ^. js "align") >>= fromJSValUnchecked)
setFrameBorder ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setFrameBorder self val
= liftDOM (self ^. jss "frameBorder" (toJSVal val))
getFrameBorder ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getFrameBorder self
= liftDOM ((self ^. js "frameBorder") >>= fromJSValUnchecked)
setHeight ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setHeight self val = liftDOM (self ^. jss "height" (toJSVal val))
getHeight ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getHeight self
= liftDOM ((self ^. js "height") >>= fromJSValUnchecked)
setLongDesc ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setLongDesc self val
= liftDOM (self ^. jss "longDesc" (toJSVal val))
getLongDesc ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getLongDesc self
= liftDOM ((self ^. js "longDesc") >>= fromJSValUnchecked)
setMarginHeight ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setMarginHeight self val
= liftDOM (self ^. jss "marginHeight" (toJSVal val))
getMarginHeight ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getMarginHeight self
= liftDOM ((self ^. js "marginHeight") >>= fromJSValUnchecked)
setMarginWidth ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setMarginWidth self val
= liftDOM (self ^. jss "marginWidth" (toJSVal val))
getMarginWidth ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getMarginWidth self
= liftDOM ((self ^. js "marginWidth") >>= fromJSValUnchecked)
setName ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setName self val = liftDOM (self ^. jss "name" (toJSVal val))
getName ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getName self = liftDOM ((self ^. js "name") >>= fromJSValUnchecked)
getSandbox :: (MonadDOM m) => HTMLIFrameElement -> m DOMTokenList
getSandbox self
= liftDOM ((self ^. js "sandbox") >>= fromJSValUnchecked)
setAllowFullscreen ::
(MonadDOM m) => HTMLIFrameElement -> Bool -> m ()
setAllowFullscreen self val
= liftDOM (self ^. jss "allowFullscreen" (toJSVal val))
getAllowFullscreen :: (MonadDOM m) => HTMLIFrameElement -> m Bool
getAllowFullscreen self
= liftDOM ((self ^. js "allowFullscreen") >>= valToBool)
setScrolling ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setScrolling self val
= liftDOM (self ^. jss "scrolling" (toJSVal val))
getScrolling ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getScrolling self
= liftDOM ((self ^. js "scrolling") >>= fromJSValUnchecked)
setSrc ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setSrc self val = liftDOM (self ^. jss "src" (toJSVal val))
getSrc ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getSrc self = liftDOM ((self ^. js "src") >>= fromJSValUnchecked)
setSrcdoc ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setSrcdoc self val = liftDOM (self ^. jss "srcdoc" (toJSVal val))
getSrcdoc ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getSrcdoc self
= liftDOM ((self ^. js "srcdoc") >>= fromJSValUnchecked)
setWidth ::
(MonadDOM m, ToJSString val) => HTMLIFrameElement -> val -> m ()
setWidth self val = liftDOM (self ^. jss "width" (toJSVal val))
getWidth ::
(MonadDOM m, FromJSString result) => HTMLIFrameElement -> m result
getWidth self
= liftDOM ((self ^. js "width") >>= fromJSValUnchecked)
getContentDocument ::
(MonadDOM m) => HTMLIFrameElement -> m Document
getContentDocument self
= liftDOM ((self ^. js "contentDocument") >>= fromJSValUnchecked)
getContentWindow :: (MonadDOM m) => HTMLIFrameElement -> m Window
getContentWindow self
= liftDOM ((self ^. js "contentWindow") >>= fromJSValUnchecked)