MODULES Uize.Templates.Calculator
SEARCHEXAMPLESVIEW SOURCE CODE

1. Introduction

The Uize.Templates.Calculator module generates HTML that can be used for instances of the Uize.Widget.Calculator class.

DEVELOPERS: Chris van Rensburg

The Uize.Templates.Calculator module is a JavaScript Template Module that is automatically generated by a build script from a companion Uize.Templates.Calculator.js.jst JavaScript Template (.jst) file.

2. Public Static Methods

2.1. Uize.Templates.Calculator.process

Returns a string, being the generated HTML that is to be used by an instance of the Uize.Widget.Calculator class (or subclass).

SYNTAX

widgetHtmlSTR = Uize.Templates.Calculator.process (inputOBJ);

The value of the inputOBJ parameter should be an object of the form...

{
  idPrefix: idPrefixSTR
}

2.1.1. idPrefix

A string, specifying the value of the idPrefix set-get property of the widget instance that uses this module to generate its HTML.

3. Public Static Properties

3.1. Uize.Templates.Calculator.input

An object, describing the allowed properties of the inputOBJ parameter of the Uize.Templates.Calculator.process static method.