dojox.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).
parameter | type | description |
---|---|---|
trigger | Object | An event or topic to trigger a transfer |
source | Object | A Wire or arguments to create a Wire for a source value |
target | Object | A Wire or arguments to create a Wire for a target value |