Template
  XTemplate

Class Ext.XTemplate

Package:Ext
Defined In:XTemplate.js
Class:XTemplate
Extends:Template

A template class that supports advanced functionality like:

  • Autofilling arrays using templates and sub-templates
  • Conditional processing with basic comparison operators
  • Basic math function support
  • Execute arbitrary inline code with special built-in template variables
  • Custom member functions
  • Many special tags and built-in operators that aren't defined as part of the API, but are supported in the templates that can be created

XTemplate provides the templating mechanism built into:

For example usage see the constructor.

Config Options

Config OptionsDefined By
 compiled : Boolean
Specify true to compile the template immediately (see compile). Defaults to false.
Template

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.