Fan

 

class

webappClient::Doc

sys::Obj
  webappClient::Doc

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

static Elem? elem(Str id)

Get the element with this id, or null if no element is found with this id.