Functiondojox.wire.Wire.setValue

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

This method first determins a root object as follows: 1. If 'object' property specified, 1.1 If 'object' is a Wire, its getValue() method is called to obtain a root object. 1.2 Otherwise, use 'object' as a root object. 2. Otherwise, use 'defaultObject' argument. 3. If 'property' is specified, it is used to get a property

Usage

function (value, /*Object|Array*/ defaultObject) (view source)
parametertypedescription
value A value to set
defaultObjectObject|ArrayA default root object