reflex-dom-core-0.4: Functional Reactive Web Apps with Reflex

Safe HaskellNone
LanguageHaskell98

Reflex.Dom.Main

Synopsis

Documentation

mainWidget :: (forall x. Widget x ()) -> JSM () Source #

mainWidget' :: Widget () () -> JSM () Source #

Warning: mainWidget' is provided only as performance tweak. It is expected to disappear in future releases.

mainWidgetWithHead :: (forall x. Widget x ()) -> (forall x. Widget x ()) -> JSM () Source #

mainWidgetWithCss :: ByteString -> (forall x. Widget x ()) -> JSM () Source #

type DomTimeline = Spider Source #

The Reflex timeline for interacting with the DOM

type DomHost = SpiderHost Global Source #

The ReflexHost the DOM lives in

mainWidgetWithHead' :: (a -> Widget () b, b -> Widget () a) -> JSM () Source #

Warning: mainWidgetWithHead' is provided only as performance tweak. It is expected to disappear in future releases.

mainWidgetInElementById :: Text -> (forall x. Widget x ()) -> JSM () Source #

Run a reflex-dom application inside of an existing DOM element with the given ID

newtype AppInput t Source #

Constructors

AppInput 

newtype AppOutput t Source #

runApp' :: t ~ DomTimeline => (forall x. AppInput t -> Widget x (AppOutput t)) -> JSM () Source #