reflex-material-0.0.1.0

Safe HaskellNone
LanguageHaskell2010

Reflex.Material.Button

Synopsis

Documentation

mdButton :: MonadWidget t m => Dynamic t MdButton -> m () -> m (Event t ()) #

Buttons are for clicking

data MdButton #

Data structure describing options available for buttons. The typical way of using this data structure is to use the default instance and modify it using the various MdHasXYZ type classes. For instance:

huge $ inverted $ blue def

Constructors

MdButton 

mdLink #

Arguments

:: MonadWidget t m 
=> Text

CSS class to apply

-> m ()

Contents

-> m (Event t ())

Click event

Anchor element with href attribute (for styling).

mdLinkClickEvent :: (TriggerEvent t1 m, MonadJSM m, IsElement (RawElement * d)) => Element * er d t -> m (Event t1 ()) #

Click event with default action prevented.