Module
Halogen.Component.Proxy
- Package
- purescript-halogen-proxy
- Repository
- slamdata/purescript-halogen-proxy
#ProxyComponent Source
type ProxyComponent f i o = Component HTML (ProxyQ f i o) i o
The type of a proxied component.
#ProxyQ Source
data ProxyQ f i o a
The query algebra for proxied components. The queryQ
function is used
to construct values of this type as the constructors are private.
#proxyEval Source
proxyEval :: forall m o i g f. (forall b a. (b -> a) -> g b -> ParentDSL i (ProxyQ g i o) f Unit o m a) -> Component HTML f i o m -> Component HTML (ProxyQ g i o) i o m
Proxies a component with a function that handles the running of interior queries.
It's unlikely this is useful for common use cases - it's used to implement
the rest of the proxy*
functions, but may also allow for some use cases
that were not considered by the functions provided in this library.
- Modules
- Halogen.
Component. Proxy