reflex-dom-0.6.0.0: Functional Reactive Web Apps with Reflex
Safe HaskellNone
LanguageHaskell2010

Reflex.Dom.Internal

Synopsis

Documentation

runImmediateWidgetWithHeadAndBody :: ((forall c. Widget () c -> FloatingWidget () c) -> (forall c. Widget () c -> FloatingWidget () c) -> FloatingWidget () ()) -> JSM () #

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

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

runHydrationWidgetWithHeadAndBody :: JSM () -> ((forall c. HydrationWidget () c -> FloatingWidget () c) -> (forall c. HydrationWidget () c -> FloatingWidget () c) -> FloatingWidget () ()) -> JSM () #

mainHydrationWidgetWithSwitchoverAction' :: JSM () -> HydrationWidget () () -> HydrationWidget () () -> JSM () #

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

mainHydrationWidgetWithSwitchoverAction :: JSM () -> (forall x. HydrationWidget x ()) -> (forall x. HydrationWidget x ()) -> JSM () #

type FloatingWidget x = TriggerEventT DomTimeline (DomCoreWidget x) #

A widget that isn't attached to any particular part of the DOM hierarchy

type DomTimeline = Spider #

The Reflex timeline for interacting with the DOM

type DomHost = SpiderHost Global #

The ReflexHost the DOM lives in

newtype AppInput t #

Constructors

AppInput 

newtype AppOutput t #

run :: JSM () -> IO () #

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

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

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

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

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

mainHydrationWidgetWithHead :: (forall x. HydrationWidget x ()) -> (forall x. HydrationWidget x ()) -> IO () Source #