:: Documentation >>

getTemplate

Returns the template.

null

Syntax

var template = obj.getTemplate(name, [index1, index2, ...]);

Parameters

name (string) - template name
optional index1, index2, ... (string) - template indices

Returns

template object

Example

It is possible to get the template by name or use generated get function -

var template = obj.getTemplate("cell", 2, 3);

is the same as

var template = obj.getCellTemplate(2, 3);

See also

setTemplate(), defineTemplate() methods

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5