Safe Haskell | None |
---|---|
Language | Haskell2010 |
Reflex.Dom.Widget.SVG.Types.SVG_Animate
Description
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 | |
Show AnimDuration Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate Methods showsPrec :: Int -> AnimDuration -> ShowS # show :: AnimDuration -> String # showList :: [AnimDuration] -> ShowS # | |
AsAnimDuration AnimDuration Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate Methods _AnimDuration :: Prism' AnimDuration AnimDuration Source # |
class AsAnimDuration r where Source #
Classy Prism set for the AnimDuration
type
Minimal complete definition
Methods
Arguments
:: Prism' r AnimDuration | General prism for when you have to deal with all of the constructors |
Instances
AsAnimDuration AnimDuration Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate Methods _AnimDuration :: Prism' AnimDuration AnimDuration Source # |
data SVG_Animate Source #
Properties for the <animate> element.
Constructors
SVG_Animate | |
Instances
Eq SVG_Animate Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate | |
Show SVG_Animate Source # | |
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate Methods 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>.