Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types and functions for the <animate> SVG element.
Synopsis
- newtype AnimFrom = AnimFrom Word16
- newtype AnimTo = AnimTo Word16
- data AnimDuration
- class AsAnimDuration r where
- data SVG_Animate = SVG_Animate {}
- svg_animate_attributeName :: Lens' SVG_Animate AttributeName
- svg_animate_from :: Lens' SVG_Animate AnimFrom
- svg_animate_to :: Lens' SVG_Animate AnimTo
- svg_animate_dur :: Lens' SVG_Animate AnimDuration
- svg_animate_repeatCount :: Lens' SVG_Animate RepeatCount
- makeAnimateProps :: SVG_Animate -> Map Text Text
Documentation
from attribute
to attribute
data AnimDuration Source #
We don't allow for negative animation durations, and currently we're only interested in animations that last a matter of seconds or milliseconds.
Instances
Eq AnimDuration Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate (==) :: AnimDuration -> AnimDuration -> Bool # (/=) :: AnimDuration -> AnimDuration -> Bool # | |
Show AnimDuration Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate showsPrec :: Int -> AnimDuration -> ShowS # show :: AnimDuration -> String # showList :: [AnimDuration] -> ShowS # | |
AsAnimDuration AnimDuration Source # | |
class AsAnimDuration r where Source #
Classy Prism set for the AnimDuration
type
:: Prism' r AnimDuration | General prism for when you have to deal with all of the constructors |
Instances
AsAnimDuration AnimDuration Source # | |
data SVG_Animate Source #
Properties for the <animate> element.
Instances
Eq SVG_Animate Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate (==) :: SVG_Animate -> SVG_Animate -> Bool # (/=) :: SVG_Animate -> SVG_Animate -> Bool # | |
Show SVG_Animate Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate showsPrec :: Int -> SVG_Animate -> ShowS # show :: SVG_Animate -> String # showList :: [SVG_Animate] -> ShowS # |
svg_animate_attributeName :: Lens' SVG_Animate AttributeName Source #
Lens for the AttirbuteName
of an SVG_Animate
element.
svg_animate_from :: Lens' SVG_Animate AnimFrom Source #
Lens for the AnimFrom
of an SVG_Animate
element.
svg_animate_to :: Lens' SVG_Animate AnimTo Source #
Lens for the AnimTo
of an SVG_Animate
element.
svg_animate_dur :: Lens' SVG_Animate AnimDuration Source #
Lens for the AnimDuration
of an SVG_Animate
element.
svg_animate_repeatCount :: Lens' SVG_Animate RepeatCount Source #
Lens for the AnimRepeatCount
of an SVG_Animate
element.
makeAnimateProps :: SVG_Animate -> Map Text Text Source #
Convert the given properties to the correct attributes for a <animate>.