Time Output State Variable Reference

Table of contents


Introduction

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.

Constructor

Syntax

ctl.createPage({
	...,
	stateVarInfo:[
		{type:'timeOutput', ...},
	],
})

Parameters


Instance methods

Inherited methods

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'.


Instance properties

Inherited properties


Component attributes

Inherited attributes


DOM element