const classafSlim::SlimComponentCtx
sys::Obj afSlim::SlimComponentCtx
An instance is passed to SlimComponents
for entry / exit rendering.
- attrs
Any attributes defined by the element.
- classes
const Str[] classes
Any classes defined by the element
- comName
const Str comName
The component name.
- id
const Str? id
The ID of the element.
- make
new make(|This fn)
Std it-block ctor.
- tagName
const Str tagName
The tag name.
- tagStyle
const TagStyle tagStyle
The tag style.
- text
const Str? text
Any plain text inside the element.
- writeTag
Void writeTag(StrBuf out, Str tagName, [Str:Str?]? attrs)
Helper method for writing out tag values.