haskell-halogen-core
Safe HaskellNone
LanguageGHC2021

Halogen.VDom.DOM.Prop

Documentation

data Prop msg Source #

Instances

Instances details
Functor Prop Source # 
Instance details

Defined in Halogen.VDom.DOM.Prop

Methods

fmap :: (a -> b) -> Prop a -> Prop b #

(<$) :: a -> Prop b -> Prop a #

data ElemRef a Source #

Constructors

Created a 
Removed a 

Instances

Instances details
Functor ElemRef Source # 
Instance details

Defined in Halogen.VDom.DOM.Prop

Methods

fmap :: (a -> b) -> ElemRef a -> ElemRef b #

(<$) :: a -> ElemRef b -> ElemRef a #

data PropValue val where Source #

Constructors

IntProp :: forall val. Integral val => val -> PropValue val 
NumProp :: Double -> PropValue Double 
BoolProp :: Bool -> PropValue Bool 
TxtProp :: Text -> PropValue Text 
ViaTxtProp :: forall val. (val -> Text) -> val -> PropValue val 

buildProp :: (MonadIO m, MonadDOM m) => (a -> m ()) -> Element -> Machine m [Prop a] () Source #