:: 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.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1
2.5
Release History
2.5
2.0.2
textToValue
textToData