Module

Play.Types

Package
purescript-play
Repository
shamansir/purescript-play

#Def Source

type Def = { childGap :: Number, direction :: Direction, padding :: Padding, sizing :: { height :: Sizing, width :: Sizing } }

#Direction Source

#Offset Source

type Offset = Pos

#Padding Source

type Padding = { bottom :: Number, left :: Number, right :: Number, top :: Number }

#Pos Source

type Pos = { x :: Number, y :: Number }

#Rect Source

type Rect = { pos :: Pos, size :: Size }

#Size Source

type Size = { height :: Number, width :: Number }

#Sizing Source

data Sizing

Constructors

Instances

  • Eq Sizing

    FixedPct Percentage FitMin { min :: Number } FitMax { max :: Number } FitMinMax { min :: Number, max :: Number }

#WithDef Source

type WithDef a = { def :: Def, v :: a }

#WithDefSize Source

type WithDefSize a = { def :: Def, size :: Size, v :: a }

#WithRect Source

type WithRect a = { rect :: Rect, v :: a }

#WithDefRect Source

type WithDefRect a = { def :: Def, rect :: Rect, v :: a }
Modules
Play
Play.Types