package fmlib_browser

  1. Overview
  2. Docs

Module Fmlib_browser.HtmlSource

Virtual Dom

Primitives

Sourcetype 'msg t
Sourceval text : string -> 'msg t
Sourceval node : string -> 'msg Attribute.t list -> 'msg t list -> 'msg t

Headers

Sourceval h1 : 'msg Attribute.t list -> 'msg t list -> 'msg t

h1 attrs children is equivalent to node "h1" attrs children.

Sourceval h2 : 'msg Attribute.t list -> 'msg t list -> 'msg t

h2 attrs children is equivalent to node "h2" attrs children.

Sourceval h3 : 'msg Attribute.t list -> 'msg t list -> 'msg t

h3 attrs children is equivalent to node "h3" attrs children.

Sourceval h4 : 'msg Attribute.t list -> 'msg t list -> 'msg t

h4 attrs children is equivalent to node "h4" attrs children.

Sourceval h5 : 'msg Attribute.t list -> 'msg t list -> 'msg t

h5 attrs children is equivalent to node "h5" attrs children.

Sourceval h6 : 'msg Attribute.t list -> 'msg t list -> 'msg t

h6 attrs children is equivalent to node "h6" attrs children.

Grouping Content

Sourceval div : 'msg Attribute.t list -> 'msg t list -> 'msg t

div attrs children is equivalent to node "div" attrs children.

Sourceval span : 'msg Attribute.t list -> 'msg t list -> 'msg t

span attrs children is equivalent to node "span" attrs children.

Sourceval pre : 'msg Attribute.t list -> 'msg t list -> 'msg t

pre attrs children is equivalent to node "pre" attrs children.

Sourceval p : 'msg Attribute.t list -> 'msg t list -> 'msg t

p attrs children is equivalent to node "p" attrs children.

Input

Sourceval button : 'msg Attribute.t list -> 'msg t list -> 'msg t

button attrs children is equivalent to node "button" attrs children.

Sourceval input : 'msg Attribute.t list -> 'msg t list -> 'msg t

input attrs children is equivalent to node "input" attrs children.

Sourceval label : 'msg Attribute.t list -> 'msg t list -> 'msg t

label attrs children is equivalent to node "label" attrs children.

Sourceval textarea : 'msg Attribute.t list -> 'msg t list -> 'msg t

textarea attrs children is equivalent to node "textarea" attrs children.

Sourceval select : 'msg Attribute.t list -> 'msg t list -> 'msg t

select attrs children is equivalent to node "select" attrs children.

Lists

Sourceval ol : 'msg Attribute.t list -> 'msg t list -> 'msg t

ol attrs children is equivalent to node "ol" attrs children.

Sourceval ul : 'msg Attribute.t list -> 'msg t list -> 'msg t

ul attrs children is equivalent to node "ul" attrs children.

Sourceval li : 'msg Attribute.t list -> 'msg t list -> 'msg t

li attrs children is equivalent to node "li" attrs children.