package virtual_dom

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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