Module

Flame.Types

Package
purescript-flame-lynx
Repository
easafe/purescript-flame-lynx

Types common to Flame modules

#PreApplication Source

type PreApplication model message = { model :: model, view :: model -> Html message }

PreApplication contains

  • model – the initial model
  • view – a function to update your markup

#ToNodeData Source

type ToNodeData value = forall message. value -> NodeData message

#Tag Source

type Tag = String

#Key Source

type Key = String

#AppId Source

newtype AppId :: forall k. Type -> k -> Typenewtype AppId a b

Constructors

Instances

#ApplicationId Source

#Subscription Source

type Subscription message = EventName /\ (Foreign -> Effect (Maybe message))

Subscriptions to Lynx global events

#RenderingState Source

data RenderingState

FFI class that keeps track of Lynx rendering

#EventName Source

#NodeData Source

data NodeData t0

Attributes and properties of virtual nodes

#Html Source

data Html t0

The type of virtual nodes

Instances