Type Definitions

CtrlName

It is a standard JavaScript nested-name string, made up by 1 or more JSName strings, joined by a dot:

module_1.$name2._ctrl3
  • It cannot start or end with a dot
  • It cannot have any spaces in between
  • It is treated as case-sensitive

The string represents a full controller name, depending on how many JSName entries it contains:

  • When it contains a single JSName, it always refers to an app-level controller, as added with ERoot.addController
  • When it contains more than one JSName, then the first one is a module name, as added with ERoot.addModule, followed by either a simple or nested controller name in that module.
Type:
  • string
Source:

JSName

It is a string that complies with the open-name syntax for JavaScript variables:

  • It must contain 1 or more symbols
  • It is treated as case-sensitive
  • Allowed symbols are: a-z, A-Z, 0-9, $ and _
  • It cannot start with a digit (0-9)
Type:
  • string
Source: