UIZE JavaScript Framework

MODULES Uize.Templates.Calculator

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.

1.1. Examples

There are no dedicated showcase example pages for the Uize.Templates.Calculator module.

SEARCH FOR EXAMPLES

Use the link below to search for example pages on the UIZE Web site that reference the Uize.Templates.Calculator module...

SEARCH

1.2. Implementation Info

The Uize.Templates.Calculator module defines the Uize.Templates.Calculator package under the Uize.Templates namespace.

1.2.1. Features Introduced in This Module

The features listed in this section have been introduced in this module.

STATIC METHODS

Uize.Templates.Calculator.process

STATIC PROPERTIES

Uize.Templates.Calculator.input | Uize.Templates.Calculator.moduleName | Uize.Templates.Calculator.pathToResources

1.2.2. Features Overridden in This Module

No features have been overridden in this module.

1.2.3. Features Inherited From Other Modules

This module has no inherited features.

1.2.4. Modules Directly Under This Namespace

There are no modules directly under this namespace.

1.2.5. Unit Tests

The Uize.Templates.Calculator module is unit tested by the Uize.Test.Uize.Templates.Calculator test module.

2. 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 state property of the widget instance that uses this module to generate its HTML.

IMPLEMENTATION INFO

this feature was introduced in this module

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

IMPLEMENTATION INFO

this feature was introduced in this module

3.2. Uize.Templates.Calculator.moduleName

IMPLEMENTATION INFO

this feature was introduced in this module

3.3. Uize.Templates.Calculator.pathToResources

IMPLEMENTATION INFO

this feature was introduced in this module