package vdom

  1. Overview
  2. Docs
type arg_value =
  1. | StringArg of string
  2. | BoolArg of bool
  3. | FloatArg of float
type t =
  1. | Unit
  2. | String of string
  3. | Int of int
  4. | Float of float
  5. | Bool of bool
  6. | List of t list
  7. | Obj of (string * t) list
  8. | Fun of arg_value list -> t
    (*

    The type of JavaScript object structural builders. It allows to create JS objects with fields and methods casted from OCaml values.

    *)
val encode : t -> Ojs.t
OCaml

Innovation. Community. Security.