Functiondojox.wire.connect

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

If 'trigger' specifies 'topic', the topic is subscribed to transer a value on the topic. Otherwise, the event specified to 'event' of 'trigger' is listened to transfer a value. On the specified event or topic, transfer() is called with 'source', 'target' and the arguments of the event or topic (as default root objects).

Usage

function (/*Object*/ trigger, /*Object*/ source, /*Object*/ target) (view source)
parametertypedescription
triggerObjectAn event or topic to trigger a transfer
sourceObjectA Wire or arguments to create a Wire for a source value
targetObjectA Wire or arguments to create a Wire for a target value