dojox/dtl/_base (version 1.10)

See the dojox/dtl/_base reference documentation for more information.

Property Summary

Method Summary

  • _Context(dict) Pass one of these when rendering a template to tell the template what values to use.
  • _DomNode(node) Places a node into DOM
  • _DomNodeList(nodes) A list of any DOM-specific node objects
  • _DomParser(tokens) Turn a simple array into a set of objects
  • _DomTextNode(str)
  • _DomVarNode(str) A node to be processed as a variable
  • _Filter(token) Uses a string to find (and manipulate) a variable
  • _Node(obj) Basic catch-all node
  • _NodeList(nodes) Allows us to render a group of nodes
  • _Parser(tokens) Parser used during initialization and for tag groups.
  • _QuickNodeList(contents)
  • _TextNode(obj) Basic catch-all node
  • _VarNode(str) A node to be processed as a variable
  • AttributeNode(key,value)
  • ChangeNode(node,up,root) Changes the parent during render/unrender
  • Context(dict) Represents a runtime context used by DTL templates.
  • DomBuffer(parent) Allows the manipulation of DOM
  • DomInline(args,node)
  • DomTemplate(obj) The template class for DOM templating.
  • Inline(args,node)
  • mark_safe(value)
  • quickFilter(str)
  • Template(template,isString) The base class for text-based templates.
  • Token(token_type,contents)

Properties

_base
Defined by: dojox/dtl/_base
_noOpNode
Defined by: dojox/dtl/_base
BOOLS
Defined by: dojox/dtl/dom
data
date
Defined by: dojox/dtl/utils/date
dates
dijit
dom
Defined by: dojox/dtl/dom
html
Defined by: dojox/dtl/render/html
htmlstrings
integers
lists
loader
Defined by: dojox/dtl/tag/loader
logic
loop
Defined by: dojox/dtl/tag/loop
misc
Defined by: dojox/dtl/filter/misc
objects
register
Defined by: dojox/dtl/_base

A register for filters and tags.

strings
text
Defined by: dojox/dtl/_base
TOKEN_ATTR
Defined by: dojox/dtl/dom
TOKEN_BLOCK
Defined by: dojox/dtl/_base
TOKEN_CHANGE
Defined by: dojox/dtl/dom
TOKEN_COMMENT
Defined by: dojox/dtl/_base
TOKEN_CUSTOM
Defined by: dojox/dtl/dom
TOKEN_NODE
Defined by: dojox/dtl/dom
TOKEN_TEXT
Defined by: dojox/dtl/_base
TOKEN_VAR
Defined by: dojox/dtl/_base

Methods

_Context(dict)
Defined by dojox/dtl/_base

Pass one of these when rendering a template to tell the template what values to use.

Parameter Type Description
dict undefined
_DomNode(node)
Defined by dojox/dtl/dom

Places a node into DOM

Parameter Type Description
node undefined
_DomNodeList(nodes)
Defined by dojox/dtl/dom

A list of any DOM-specific node objects

Any object that's used in the constructor or added through the push function much implement the render, unrender, and clone functions.

Parameter Type Description
nodes Node[]
_DomParser(tokens)
Defined by dojox/dtl/dom

Turn a simple array into a set of objects

This is also used by all tags to move through the list of nodes.

Parameter Type Description
tokens undefined
_DomTextNode(str)
Defined by dojox/dtl/dom
Parameter Type Description
str undefined
_DomVarNode(str)
Defined by dojox/dtl/dom

A node to be processed as a variable

Will render an object that supports the render function and the getRootNode function

Parameter Type Description
str undefined
_Filter(token)
Defined by dojox/dtl/_base

Uses a string to find (and manipulate) a variable

Parameter Type Description
token undefined
_Node(obj)
Defined by dojox/dtl/_base

Basic catch-all node

Parameter Type Description
obj Object
_NodeList(nodes)
Defined by dojox/dtl/_base

Allows us to render a group of nodes

Parameter Type Description
nodes Node[]
_Parser(tokens)
Defined by dojox/dtl/_base

Parser used during initialization and for tag groups.

Parameter Type Description
tokens undefined
_QuickNodeList(contents)
Defined by dojox/dtl/_base
Parameter Type Description
contents undefined
_TextNode(obj)
Defined by dojox/dtl/_base

Basic catch-all node

Parameter Type Description
obj Object
_VarNode(str)
Defined by dojox/dtl/_base

A node to be processed as a variable

Parameter Type Description
str undefined
AttributeNode(key,value)
Defined by dojox/dtl/dom
Parameter Type Description
key undefined
value undefined
ChangeNode(node,up,root)
Defined by dojox/dtl/dom

Changes the parent during render/unrender

Parameter Type Description
node undefined
up Boolean
Optional
root Bookean
Context(dict)
Defined by dojox/dtl/Context

Represents a runtime context used by DTL templates.

Parameter Type Description
dict Object
DomBuffer(parent)
Defined by dojox/dtl/dom

Allows the manipulation of DOM

Use this to append a child, change the parent, or change the attribute of the current node.

Parameter Type Description
parent Node

The parent node.

DomInline(args,node)
Defined by dojox/dtl/DomInline
Parameter Type Description
args undefined
node undefined
DomTemplate(obj)
Defined by dojox/dtl/dom

The template class for DOM templating.

Parameter Type Description
obj String | DOMNode | dojo/Url
Inline(args,node)
Defined by dojox/dtl/Inline
Parameter Type Description
args undefined
node undefined
mark_safe(value)
Defined by dojox/dtl/_base
Parameter Type Description
value undefined
quickFilter(str)
Defined by dojox/dtl/_base
Parameter Type Description
str undefined
Template(template,isString)
Defined by dojox/dtl/_base

The base class for text-based templates.

Parameter Type Description
template String | dojo/_base/url

The string or location of the string to use as a template

isString Boolean

Indicates whether the template is a string or a url.

Token(token_type,contents)
Defined by dojox/dtl/_base
Parameter Type Description
token_type undefined
contents undefined
Error in the documentation? Can’t find what you are looking for? Let us know!