package jsoo-react

  1. Overview
  2. Docs

Module React.DomSource

include module type of struct include Dom end
Sourceval dom_element_to_js : dom_element -> Ojs.t
Sourceval dom_element_of_js : Ojs.t -> dom_element
Sourceval unmount_component_at_node : dom_element -> bool
Sourceval render : Ojs.t -> dom_element -> unit
Sourceval render_to_element : id:string -> Ojs.t -> unit
Sourceval create_portal : Ojs.t -> dom_element -> Ojs.t
Sourcetype dom_ref = private Ojs.t
Sourcemodule Ref : sig ... end
Sourcetype domProps = private Ojs.t
Sourceval create_element : string -> props:domProps -> Ojs.t list -> Ojs.t
Sourceval forward_ref : ('props -> dom_ref -> Ojs.t) -> 'props -> Ojs.t
Sourcetype block
Sourcemodule Style : sig ... end
Sourcemodule SafeString : sig ... end
Sourcemodule Dsl : sig ... end
OCaml

Innovation. Community. Security.