package alba

  1. Overview
  2. Docs

Parameters

module Vapp : WEB_APPLICATION with type 'msg decoder = 'msg Decoder.t and type encoder = Encoder.t

Signature

val sandbox : 'model -> ('model -> 'msg Vapp.Dom.t) -> ('msg -> 'model -> 'model) -> unit
val element : 'a Decoder.t -> ('a -> 'model * 'msg Vapp.Command.t) -> ('model -> 'msg Vapp.Dom.t) -> ('msg -> 'model -> 'model * 'msg Vapp.Command.t) -> ('model -> 'msg Vapp.Subscription.t) -> unit