The type of source items. A database-record for instance.
The type of target items. A [[MaquetteComponent]] for instance.
function(source)
that must return a key to identify each source object. The result must either be a string or a number.
function(source, index)
that must create a new result object from a given source. This function is identical
to the callback
argument in Array.map(callback)
.
function(source, target, index)
that updates a result to an updated source.
Generated using TypeDoc
Creates a Mapping instance that keeps an array of result objects synchronized with an array of source objects. See Working with arrays.