Text Output state variables represent text outputs. Each rendered component will display according to the format specified in the state variable.
'textOutput', class: TextOutputSvctl.createPage({
...,
stateVarInfo:[
{type:'textOutput', ...},
],
})
infoinfo object can contain the following properties, but subclasses of StateVar may have additional properties:info properties.info properties.info properties.allCaps (optional)dflt (optional)''.disableHtml (optional)val()val(value)
val()
Gets or sets the value. The value must be a string, a template, or an Error; otherwise an assertion fails. If allCaps is true, a string is converted to upper case.
fmtVal()Returns the current value.
Note: The component() method returns a TextOutputSvCmp.
allCapsIf true, output will be converted to all capitals.
A Boolean.
disableHtmlTrue if any HTML within the text string is to be ignored..
A Boolean.
textOutput Component will render an <span> that contains the contents.<span> content will be synchronized witht he state variable value.<span> element will have a className that contains svIo_textOutput