classafFandoc::HtmlElem
sys::Obj afFandoc::HtmlNode afFandoc::HtmlElem
@Js
- addClass
- addHtml
- addText
- get
Gets an attribue value
- getUri
- id
Str? id- isRawText
Bool isRawText()Returns
trueif this is aRaw Textelement. See Raw text elements.- isVoid
Bool isVoid()Returns
trueif this is aVoidelement. See Void elements.- klass
Str? klass- make
- name
Str name()- rawTags
const static Str[] rawTags := "script style textarea title".split- removeClass
- rename
- set
@Operator
HtmlElem set(Str attr, Obj? val)Sets an attribute value. Empty strings for name only attrs.
- text
Str text- title
Str? title- voidTags
const static Str[] voidTags := ...