dojo/dnd/Avatar (version 1.10)

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.

Property Summary

Method Summary

  • _generateText() generates a proper text to reflect copying or moving of items
  • construct() constructor function; it is separate so it can be (dynamically) overwritten in case of need
  • destroy() destructor for the avatar; called to remove all references so it can be garbage-collected
  • update() updates the avatar to reflect the current DnD state

Properties

manager
Defined by: dojo/dnd/Avatar

a DnD manager object

Methods

_generateText()
Defined by dojo/dnd/Avatar

generates a proper text to reflect copying or moving of items

Returns:undefined
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

Error in the documentation? Can’t find what you are looking for? Let us know!