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

Safe HaskellNone
LanguageHaskell2010

Reflex.Dom.Widget.SVG.Types.Internal

Description

Miscellaneous types and functions of the API. This module is named Internal as it is possible it will change.

Synopsis

Documentation

newtype Width Source #

Wrap the Float value with something more meaningful.

Constructors

Width Float 
Instances
Eq Width Source # 
Instance details

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

Methods

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

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

Show Width Source # 
Instance details

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

Methods

showsPrec :: Int -> Width -> ShowS #

show :: Width -> String #

showList :: [Width] -> ShowS #

Wrapped Width Source # 
Instance details

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

Associated Types

type Unwrapped Width :: * #

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

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

type Unwrapped Width Source # 
Instance details

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

newtype Height Source #

Wrap the Float value with something more meaningful.

Constructors

Height Float 
Instances
Eq Height Source # 
Instance details

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

Methods

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

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

Show Height Source # 
Instance details

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

Wrapped Height Source # 
Instance details

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

Associated Types

type Unwrapped Height :: * #

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

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

type Unwrapped Height Source # 
Instance details

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

data RepeatCount Source #

Capture the information about the repeatCount attribute.

Constructors

NumOfTimes Word 
Indefinite 

wrappedToText :: (Unwrapped t ~ Unwrapped s, IsText t1, Contravariant f, Functor f, Rewrapped t s, Rewrapped s t, Show (Unwrapped s)) => (t1 -> f t1) -> s -> f t Source #

Helper function to convert a Wrapped value to a Text value.