W3cubDocs

/Dojo

dojo/dnd/Avatar

Summary

Object that represents transferred DnD items visually

Usage

var foo = new Avatar(manager);

dojo/dnd/Avatar

Parameter Type Description
manager undefined

See the dojo/dnd/Avatar reference documentation for more information.

Properties

manager

Defined by: dojo/dnd/Avatar

a DnD manager object

Methods

construct()

Defined by dojo/dnd/Avatar

constructor function; it is separate so it can be (dynamically) overwritten in case of need

destroy()

Defined by dojo/dnd/Avatar

destructor for the avatar; called to remove all references so it can be garbage-collected

update()

Defined by dojo/dnd/Avatar

updates the avatar to reflect the current DnD state

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/dnd/Avatar.html