Age Output State Variable Reference

Table of contents


Introduction

Age Output state variables represent age outputs. The state variable value is the age in minutes. If the set value is zero or positive, then the value will be updated every minute. The rendered output is in hh:mm format.

If the limit property is zero or positive, then the age will be rendered in red when greater than or equal to the limit value.

Constructor

Syntax

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

Parameters


Instance methods

Inherited methods

Note: The component() method returns a AgeOutputSvComponent.


Instance properties

Inherited properties


limit

When limit is zero or positive, the age will be rendered with a warning class name when the state variable value is greater than or equal to the limit. Otherwise, the warning class name is omitted. The warning class typically sets a red font color.

Value

A number.


Component attributes

Inherited attributes


DOM element