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__.Attrs.t
val key : t -> Base.string Base.option
val map_attrs : t -> f:(Virtual_dom__.Attrs.t -> Virtual_dom__.Attrs.t) -> t
val add_style : t -> Css_gen.t -> t
val add_class : t -> Base.string -> t