:: Home >>

mapModel

Redirects property requests.

Syntax

template.mapModel(name1, name2);

Parameters

name1 (string) - model name, redirect from
name2 (string) - model name, redirect to

redirect name1 model property requests to name2

Example

rows.mapModel("item", "row");

See also

defineModel() method

Comments

No comments yet.
Comments will appear on this page and in the main forum.

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