package alba

  1. Overview
  2. Docs
type 'msg t =
  1. | Text of string
  2. | Node of string * 'msg Attribute.t list * 'msg t list
type 'msg attributes = 'msg Attribute.t list
type 'msg children = 'msg t list
val text : string -> 'msg t
val node : string -> 'msg attributes -> 'msg children -> 'msg t
val div : 'msg attributes -> 'msg children -> 'msg t
val span : 'msg attributes -> 'msg children -> 'msg t
val pre : 'msg attributes -> 'msg children -> 'msg t
val p : 'msg attributes -> 'msg children -> 'msg t
val ol : 'msg attributes -> 'msg children -> 'msg t
val ul : 'msg attributes -> 'msg children -> 'msg t
val li : 'msg attributes -> 'msg children -> 'msg t
val h1 : 'msg attributes -> 'msg children -> 'msg t
val h2 : 'msg attributes -> 'msg children -> 'msg t
val h3 : 'msg attributes -> 'msg children -> 'msg t
val h4 : 'msg attributes -> 'msg children -> 'msg t
val h5 : 'msg attributes -> 'msg children -> 'msg t
val h6 : 'msg attributes -> 'msg children -> 'msg t
val b : 'msg attributes -> 'msg children -> 'msg t

Bold text

val i : 'msg attributes -> 'msg children -> 'msg t

Italic text

val strong : 'msg attributes -> 'msg children -> 'msg t

Important text

val button : 'msg attributes -> 'msg children -> 'msg t
val input : 'msg attributes -> 'msg children -> 'msg t
val textarea : 'msg attributes -> 'msg children -> 'msg t