{-# LANGUAGE PatternSynonyms, ForeignFunctionInterface, JavaScriptFFI #-} module GHCJS.DOM.JSFFI.Generated.HTMLFrameSetElement (js_setCols, setCols, js_getCols, getCols, js_setRows, setRows, js_getRows, getRows, beforeUnload, hashChange, message, offline, online, popState, resize, storage, unload, orientationChange, blur, error, focus, load, HTMLFrameSetElement, castToHTMLFrameSetElement, gTypeHTMLFrameSetElement) 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[\"cols\"] = $2;" js_setCols :: JSRef HTMLFrameSetElement -> JSString -> IO () -- | setCols :: (MonadIO m, ToJSString val) => HTMLFrameSetElement -> val -> m () setCols self val = liftIO (js_setCols (unHTMLFrameSetElement self) (toJSString val)) foreign import javascript unsafe "$1[\"cols\"]" js_getCols :: JSRef HTMLFrameSetElement -> IO JSString -- | getCols :: (MonadIO m, FromJSString result) => HTMLFrameSetElement -> m result getCols self = liftIO (fromJSString <$> (js_getCols (unHTMLFrameSetElement self))) foreign import javascript unsafe "$1[\"rows\"] = $2;" js_setRows :: JSRef HTMLFrameSetElement -> JSString -> IO () -- | setRows :: (MonadIO m, ToJSString val) => HTMLFrameSetElement -> val -> m () setRows self val = liftIO (js_setRows (unHTMLFrameSetElement self) (toJSString val)) foreign import javascript unsafe "$1[\"rows\"]" js_getRows :: JSRef HTMLFrameSetElement -> IO JSString -- | getRows :: (MonadIO m, FromJSString result) => HTMLFrameSetElement -> m result getRows self = liftIO (fromJSString <$> (js_getRows (unHTMLFrameSetElement self))) -- | beforeUnload :: EventName HTMLFrameSetElement BeforeUnloadEvent beforeUnload = unsafeEventName (toJSString "beforeunload") -- | hashChange :: EventName HTMLFrameSetElement HashChangeEvent hashChange = unsafeEventName (toJSString "hashchange") -- | message :: EventName HTMLFrameSetElement MessageEvent message = unsafeEventName (toJSString "message") -- | offline :: EventName HTMLFrameSetElement Event offline = unsafeEventName (toJSString "offline") -- | online :: EventName HTMLFrameSetElement Event online = unsafeEventName (toJSString "online") -- | popState :: EventName HTMLFrameSetElement PopStateEvent popState = unsafeEventName (toJSString "popstate") -- | resize :: EventName HTMLFrameSetElement UIEvent resize = unsafeEventName (toJSString "resize") -- | storage :: EventName HTMLFrameSetElement StorageEvent storage = unsafeEventName (toJSString "storage") -- | unload :: EventName HTMLFrameSetElement UIEvent unload = unsafeEventName (toJSString "unload") -- | orientationChange :: EventName HTMLFrameSetElement Event orientationChange = unsafeEventName (toJSString "orientationchange") -- | blur :: EventName HTMLFrameSetElement FocusEvent blur = unsafeEventName (toJSString "blur") -- | error :: EventName HTMLFrameSetElement UIEvent error = unsafeEventName (toJSString "error") -- | focus :: EventName HTMLFrameSetElement FocusEvent focus = unsafeEventName (toJSString "focus") -- | load :: EventName HTMLFrameSetElement UIEvent load = unsafeEventName (toJSString "load")