Doc models the DOM document object.
Slots
- bodySource
-
static Elem body()
Get the body element.
- createElemSource
-
static Elem createElem(Str tagName, [Str:Str]? attrib := null)
Create a new element with the given tag name. If the attrib map is specified, set the new elements attributes to the given values.
- elemSource
-
Get the element with this
id
, ornull
if no element is found with thisid
. -
new make()
Private ctor.