Yahoo! UI Library

Drag and Drop 

Yahoo! UI Library > dragdrop > YAHOO.util.DDTarget

Class YAHOO.util.DDTarget - extends YAHOO.util.DragDrop

A DragDrop implementation that does not move, but can be a drop target. You would get the same result by simply omitting implementation for the event callbacks, but this way we reduce the processing cost of the event listener and the callbacks.


YAHOO.util.DDTarget ( id , sGroup , config )
id <String> the id of the element that is a drop target
sGroup <String> the group of related DragDrop objects
config <object> an object containing configurable attributes Valid properties for DDTarget in addition to those in DragDrop: none

Copyright © 2006 Yahoo! Inc. All rights reserved.