Functiondojox.wire.transfer

dojo.require("dojox.wire._base");
defined in dojox/wire/_base.js

If 'source' and/or 'target' are not Wires, Wires are created with them as arguments. A value is got through the source Wire and set through the target Wire. 'defaultObject' is passed to Wires as a default root object. If 'defaultTargetObject' is specified, it is passed to the target Wire as a default root object, instead of 'defaultObject'.

Usage

function (/*Object*/ source, /*Object*/ target, /*Object?*/ defaultObject, /*Object?*/ defaultTargetObject) (view source)
parametertypedescription
sourceObjectA Wire or arguments to create a Wire for a source value
targetObjectA Wire or arguments to create a Wire for a target value
defaultObjectObjectOptional.
defaultTargetObjectObjectOptional. Optional default root objects passed to Wires