Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module re-exports the complete HTML DSL,
Documentation
module Shpadoinkle.Html.Element
module Shpadoinkle.Html.Property
module Shpadoinkle.Html.Event
debounceRaw :: MonadJSM m => MonadIO n => NominalDiffTime -> n ((RawNode -> RawEvent -> JSM (Continuation m a)) -> RawNode -> RawEvent -> JSM (Continuation m a)) Source #
module Shpadoinkle.Html.Utils
listenerProp :: (RawNode -> RawEvent -> JSM (Continuation m a)) -> Prop m a #
props :: Applicative f => ([(Text, Prop m a)] -> f [(Text, Prop m a)]) -> Html m a -> f (Html m a) #
textContent :: Applicative f => (Text -> f Text) -> Html m a -> f (Html m a) #
data Html (a :: Type -> Type) b #
Instances
Continuous Html | |
Monad m => Functor EndoIso EndoIso (Html m :: Type -> Type) | |
Defined in Shpadoinkle.Core | |
IsString (Html m a) | |
Defined in Shpadoinkle.Core fromString :: String -> Html m a # |
data Prop (a :: Type -> Type) b #
Instances
Continuous Prop | |
IsString [(Text, Prop m a)] | |
Defined in Shpadoinkle.Core fromString :: String -> [(Text, Prop m a)] # | |
Monad m => Functor EndoIso EndoIso (Prop m :: Type -> Type) | |
Defined in Shpadoinkle.Core | |
IsString (Prop m a) | |
Defined in Shpadoinkle.Core fromString :: String -> Prop m a # |