jsaddle-dom-0.10.0.0: src/JSDOM/Generated/SVGFESpotLightElement.hs
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from filter-effects-1 (webref). Do not edit.
module JSDOM.Generated.SVGFESpotLightElement
(getX, getY, getZ, getPointsAtX, getPointsAtY, getPointsAtZ, getSpecularExponent, getLimitingConeAngle, SVGFESpotLightElement(..), gTypeSVGFESpotLightElement)
where
import Prelude ((.), (==), (>>=), (<$>), (++), Bool(..), Maybe(..), IO, Int, Word, Double, Float)
import qualified Prelude as P
import Control.Monad (void)
import Control.Lens.Operators ((^.))
import Language.Javascript.JSaddle (JSM, JSVal, JSString, toJSVal, valToBool, valToNumber, js, jss, jsf, jsg, new, function, asyncFunction, jsUndefined, jsNull)
import JSDOM.Types
import qualified JSDOM.Types as Types
import JSDOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import JSDOM.Generated.Enums
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/x MDN SVGFESpotLightElement.x documentation>
getX :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getX self = liftDOM (((self ^. js "x") >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/y MDN SVGFESpotLightElement.y documentation>
getY :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getY self = liftDOM (((self ^. js "y") >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/z MDN SVGFESpotLightElement.z documentation>
getZ :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getZ self = liftDOM (((self ^. js "z") >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/pointsAtX MDN SVGFESpotLightElement.pointsAtX documentation>
getPointsAtX :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtX self = liftDOM (((self ^. js "pointsAtX") >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/pointsAtY MDN SVGFESpotLightElement.pointsAtY documentation>
getPointsAtY :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtY self = liftDOM (((self ^. js "pointsAtY") >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/pointsAtZ MDN SVGFESpotLightElement.pointsAtZ documentation>
getPointsAtZ :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getPointsAtZ self = liftDOM (((self ^. js "pointsAtZ") >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/specularExponent MDN SVGFESpotLightElement.specularExponent documentation>
getSpecularExponent :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getSpecularExponent self = liftDOM (((self ^. js "specularExponent") >>= fromJSValUnchecked))
-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/limitingConeAngle MDN SVGFESpotLightElement.limitingConeAngle documentation>
getLimitingConeAngle :: (MonadDOM m) => SVGFESpotLightElement -> m SVGAnimatedNumber
getLimitingConeAngle self = liftDOM (((self ^. js "limitingConeAngle") >>= fromJSValUnchecked))