Shpadoinkle-widgets-0.2.0.1: A collection of common reusable types and components.

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Widgets.Types.Physical

Documentation

data Toggle Source #

Constructors

Closed Hygiene 
Open 
Instances
Bounded Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Enum Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Eq Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Ord Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Read Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Show Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Generic Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Associated Types

type Rep Toggle :: Type -> Type Source #

Semigroup Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Monoid Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Arbitrary Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

NFData Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Methods

rnf :: Toggle -> () Source #

ToJSON Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

FromJSON Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

IsToggle Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

type Rep Toggle Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

type Rep Toggle = D1 (MetaData "Toggle" "Shpadoinkle.Widgets.Types.Physical" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "Closed" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Hygiene)) :+: C1 (MetaCons "Open" PrefixI False) (U1 :: Type -> Type))

data Hover Source #

Constructors

MouseOver 
MouseOut 
Instances
Bounded Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Enum Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Eq Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Methods

(==) :: Hover -> Hover -> Bool Source #

(/=) :: Hover -> Hover -> Bool Source #

Ord Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Read Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Show Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Generic Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Associated Types

type Rep Hover :: Type -> Type Source #

Methods

from :: Hover -> Rep Hover x Source #

to :: Rep Hover x -> Hover Source #

Semigroup Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Monoid Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Arbitrary Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

NFData Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Methods

rnf :: Hover -> () Source #

ToJSON Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

FromJSON Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

type Rep Hover Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

type Rep Hover = D1 (MetaData "Hover" "Shpadoinkle.Widgets.Types.Physical" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "MouseOver" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MouseOut" PrefixI False) (U1 :: Type -> Type))

withHover :: ((Hover, a) -> Html m (Hover, a)) -> (Hover, a) -> Html m (Hover, a) Source #

class IsToggle a where Source #

Methods

close :: a -> a Source #

toggle :: a -> a Source #

open :: a -> a Source #

data Visbility Source #

Constructors

Visible 
Hidden 
Instances
Bounded Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Enum Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Eq Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Ord Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Read Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Show Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Generic Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

Associated Types

type Rep Visbility :: Type -> Type Source #

Arbitrary Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

type Rep Visbility Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Physical

type Rep Visbility = D1 (MetaData "Visbility" "Shpadoinkle.Widgets.Types.Physical" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "Visible" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Hidden" PrefixI False) (U1 :: Type -> Type))