packages feed

jsaddle-dom-0.10.0.0: src/JSDOM/Generated/SVGFESpecularLightingElement.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.SVGFESpecularLightingElement
       (getIn1, getSurfaceScale, getSpecularConstant, getSpecularExponent, getKernelUnitLengthX, getKernelUnitLengthY, SVGFESpecularLightingElement(..), gTypeSVGFESpecularLightingElement)
       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/SVGFESpecularLightingElement/in1 MDN SVGFESpecularLightingElement.in1 documentation>
getIn1 :: (MonadDOM m) => SVGFESpecularLightingElement -> m SVGAnimatedString
getIn1 self = liftDOM (((self ^. js "in1") >>= fromJSValUnchecked))

-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/surfaceScale MDN SVGFESpecularLightingElement.surfaceScale documentation>
getSurfaceScale :: (MonadDOM m) => SVGFESpecularLightingElement -> m SVGAnimatedNumber
getSurfaceScale self = liftDOM (((self ^. js "surfaceScale") >>= fromJSValUnchecked))

-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularConstant MDN SVGFESpecularLightingElement.specularConstant documentation>
getSpecularConstant :: (MonadDOM m) => SVGFESpecularLightingElement -> m SVGAnimatedNumber
getSpecularConstant self = liftDOM (((self ^. js "specularConstant") >>= fromJSValUnchecked))

-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularExponent MDN SVGFESpecularLightingElement.specularExponent documentation>
getSpecularExponent :: (MonadDOM m) => SVGFESpecularLightingElement -> m SVGAnimatedNumber
getSpecularExponent self = liftDOM (((self ^. js "specularExponent") >>= fromJSValUnchecked))

-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX MDN SVGFESpecularLightingElement.kernelUnitLengthX documentation>
getKernelUnitLengthX :: (MonadDOM m) => SVGFESpecularLightingElement -> m SVGAnimatedNumber
getKernelUnitLengthX self = liftDOM (((self ^. js "kernelUnitLengthX") >>= fromJSValUnchecked))

-- | <https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY MDN SVGFESpecularLightingElement.kernelUnitLengthY documentation>
getKernelUnitLengthY :: (MonadDOM m) => SVGFESpecularLightingElement -> m SVGAnimatedNumber
getKernelUnitLengthY self = liftDOM (((self ^. js "kernelUnitLengthY") >>= fromJSValUnchecked))