packages feed

ghcjs-dom-javascript-0.10.0.0: src/GHCJS/DOM/JSFFI/Generated/SVGAnimatedPreserveAspectRatio.hs

{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from SVG2 (webref). Do not edit.
module GHCJS.DOM.JSFFI.Generated.SVGAnimatedPreserveAspectRatio
       (js_getBaseVal, js_getAnimVal, getBaseVal, getAnimVal, SVGAnimatedPreserveAspectRatio(..), gTypeSVGAnimatedPreserveAspectRatio)
       where
import Prelude ((.), (==), (>>=), (<$>), (++), Bool(..), Maybe(..), IO, Int, Word, Double, Float)
import qualified Prelude as P
import Control.Monad (void)
import GHCJS.Types (JSVal, JSString)
import GHCJS.Foreign (jsUndefined, jsNull)
import GHCJS.DOM.Types
import qualified GHCJS.DOM.Types as Types
import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import GHCJS.DOM.JSFFI.Generated.Enums

foreign import javascript unsafe "(($1) => { return $1[\"baseVal\"]; })"
        js_getBaseVal :: SVGAnimatedPreserveAspectRatio -> IO SVGPreserveAspectRatio
-- | <https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal MDN SVGAnimatedPreserveAspectRatio.baseVal documentation>
getBaseVal :: (MonadDOM m) => SVGAnimatedPreserveAspectRatio -> m SVGPreserveAspectRatio
getBaseVal self = liftDOM ((js_getBaseVal (self)))

foreign import javascript unsafe "(($1) => { return $1[\"animVal\"]; })"
        js_getAnimVal :: SVGAnimatedPreserveAspectRatio -> IO SVGPreserveAspectRatio
-- | <https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal MDN SVGAnimatedPreserveAspectRatio.animVal documentation>
getAnimVal :: (MonadDOM m) => SVGAnimatedPreserveAspectRatio -> m SVGPreserveAspectRatio
getAnimVal self = liftDOM ((js_getAnimVal (self)))