Time Output state variables represent time interval outputs. The state variable value is the time in minutes. The value is rounded to whole minutes when assigned (non-finite values such as Errors are stored as is). The rendered output is in h:mm format.
'timeOutput', class: TimeOutputSvctl.createPage({
...,
stateVarInfo:[
{type:'timeOutput', ...},
],
})
infoinfo object can contain the following properties, but subclasses of StateVar may have additional properties:
Note: The component() method returns a TimeOutputSvCmp.
fmtVal()Returns the value formatted as h:mm (using fmtTime), or the Error text if the value is an Error.
fmtUnit()Returns 'h:m'.
timeOutput Component will render an <span> that contains the contents.<span> content will be synchronized with the state variable value.<span> element will have a className that contains svIo_timeOutput