dojo
»
dnd
»
Container
» setItem
dojo.dnd.Container.setItem
dojo.require("dojo.dnd.Container");
defined in dojo/dnd/Container.js
associates a data item with its key (id)
Usage
function (/*
String
*/ key, /*
Object
*/ data)
(view source)
this
.
map
[
key
]
= data;
parameter
type
description
key
String
data
Object