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
true
if this is aRaw Text
element. See Raw text elements.- isVoid
Bool isVoid()
Returns
true
if this is aVoid
element. 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 := ...