Module
Concur.Core
- Package
- purescript-concur-react
- Repository
- ajnsit/purescript-concur
#mkLeafWidget Source
mkLeafWidget :: forall v a. ((a -> Effect Unit) -> v) -> Widget v aConstruct a widget with just props
#withViewEvent Source
withViewEvent :: forall v a. ((a -> Effect Unit) -> v) -> Widget v aConstruct a widget from a primitive view event
#wrapViewEvent Source
wrapViewEvent :: forall v a. ((a -> Effect Unit) -> v -> v) -> Widget v a -> Widget v aConstruct a widget, by wrapping an existing widget in a view event
#wrapViewEvent' Source
wrapViewEvent' :: forall v a. ((a -> Effect Unit) -> v -> v) -> Free (WidgetStep v) a -> Free (WidgetStep v) aRe-exports from Concur.Core.Types
#WidgetStep Source
newtype WidgetStep v aConstructors
WidgetStep (Effect (Either a (WidgetStepRecord v a)))
Instances
Functor (WidgetStep v)
#Widget Source
newtype Widget v aConstructors
Widget (Free (WidgetStep v) a)
Instances
Functor (Widget v)Bind (Widget v)Applicative (Widget v)Apply (Widget v)Monad (Widget v)MonadRec (Widget v)ShiftMap (Widget v) (Widget v)(Monoid v) => MultiAlternative (Widget v)(Monoid v) => Semigroup (Widget v a)(Monoid v) => Monoid (Widget v a)(Monoid v) => Alt (Widget v)(Monoid v) => Plus (Widget v)(Monoid v) => Alternative (Widget v)(Monoid v) => MonadEffect (Widget v)(Monoid v) => MonadAff (Widget v)