Yahoo! UI Library

Drag and Drop  2.6.0

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.

Constructor

YAHOO.util.DDTarget ( id , sGroup , config )
Parameters:
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 © 2008 Yahoo! Inc. All rights reserved.