package virtual_dom

  1. Overview
  2. Docs
OCaml bindings for the virtual-dom library

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.15.0.tar.gz
sha256=c32029907c0667369a500091533e2121c050e2392cfae7f07f2289e87c797390

doc/virtual_dom/Virtual_dom/Vdom/Node/Element/index.html

Module Node.Element

The values associated with an Element and element like nodes. (that is in practice all nodes that aren't just text).

type t
val tag : t -> Base.string
val attrs : t -> Virtual_dom__.Attr.t
val with_key : t -> Base.string -> t
val map_attrs : t -> f:(Virtual_dom__.Attr.t -> Virtual_dom__.Attr.t) -> t
val add_style : t -> Css_gen.t -> t
val add_class : t -> Base.string -> t
val add_classes : t -> Base.string Base.list -> t
OCaml

Innovation. Community. Security.