Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
    Page
Library
Module
Module type
Parameter
Class
Class type
Source
Fmlib_js.DomThe content of a browser window.
Hierarchy:
    Document                        Text node
    Element                         Character data
                    Node
                    Event TargetI.e. a document is an element which is a node which is an event target. A text node is an event target as well.
Each document has a body element which is the root of the visible document.
Nodes can form a tree. I.e. each node has an optional parent, an optional first child and an optional sibling. There are methods to add and remove children from a node.
Note: Use the code only within a browser window. Never in node and never in a worker thread.
module Node : sig ... endA node in the dom tree.
module Style : sig ... endInline style of a document element.
module Element : sig ... endElement node.
module Document : sig ... endmodule Location : sig ... endModule representing location.
module History : sig ... endModule representing the browser history.
module Window : sig ... endModule representing a browser window.