package virtual_dom

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

Module Node.ElementSource

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

Sourcetype t
Sourceval tag : t -> Base.string
Sourceval attrs : t -> Virtual_dom__.Attr.t
Sourceval key : t -> Base.string Base.option
Sourceval with_key : t -> Base.string -> t
Sourceval map_attrs : t -> f:(Virtual_dom__.Attr.t -> Virtual_dom__.Attr.t) -> t
Sourceval add_style : t -> Css_gen.t -> t
Sourceval add_class : t -> Base.string -> t
Sourceval add_classes : t -> Base.string Base.list -> t
OCaml

Innovation. Community. Security.