reflex-dom-svg-0.3.2.0: Reflex functions for SVG elements.

Safe HaskellNone
LanguageHaskell2010

Reflex.Dom.Widget.SVG.Types.SVG_Animate

Description

Types and functions for the <animate> SVG element.

Synopsis

Documentation

newtype AnimTo Source #

to attribute

Constructors

AnimTo Word16 
Instances
Eq AnimTo Source # 
Instance details

Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate

Methods

(==) :: AnimTo -> AnimTo -> Bool #

(/=) :: AnimTo -> AnimTo -> Bool #

Show AnimTo Source # 
Instance details

Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate

Wrapped AnimTo Source # 
Instance details

Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate

Associated Types

type Unwrapped AnimTo :: * #

AnimTo ~ t => Rewrapped AnimTo t Source # 
Instance details

Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate

type Unwrapped AnimTo Source # 
Instance details

Defined in Reflex.Dom.Widget.SVG.Types.SVG_Animate

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.

Constructors

Secs Word16 
MSecs Word16 

class AsAnimDuration r where Source #

Classy Prism set for the AnimDuration type

Minimal complete definition

_AnimDuration

Methods

_AnimDuration Source #

Arguments

:: Prism' r AnimDuration

General prism for when you have to deal with all of the constructors

_Secs Source #

Arguments

:: Prism' r Word16

Prism for Seconds

_MSecs Source #

Arguments

:: Prism' r Word16

Prism for Milliseconds

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>.