Class YAHOO.util.DDTarget
Extends
YAHOO.util.DragDrop.
Defined in: dragdrop.js.
Constructor Attributes | Constructor Name and Description |
---|---|
YAHOO.util.DDTarget(id, sGroup, config)
A DragDrop implementation that does not move, but can be a drop
target.
|
- Fields borrowed from class YAHOO.util.DragDrop:
- __ygDragDrop, _domRef, available, config, constrainX, constrainY, dragElId, groups, handleElId, id, invalidHandleClasses, invalidHandleIds, invalidHandleTypes, isTarget, locked, maintainOffset, maxX, maxY, minX, minY, padding, primaryButtonOnly, startPageX, startPageY, xTicks, yTicks
- Methods borrowed from class YAHOO.util.DragDrop:
- addInvalidHandleClass, addInvalidHandleId, addInvalidHandleType, addToGroup, applyConfig, b4Drag, b4DragDrop, b4DragOut, b4DragOver, b4EndDrag, b4MouseDown, b4StartDrag, clearConstraints, clearTicks, endDrag, getDragEl, getEl, getTick, handleMouseDown, handleOnAvailable, init, initTarget, isLocked, isValidHandleChild, lock, onAvailable, onDrag, onDragDrop, onDragEnter, onDragOut, onDragOver, onMouseDown, onMouseUp, removeFromGroup, removeInvalidHandleClass, removeInvalidHandleId, removeInvalidHandleType, resetConstraints, setDragElId, setHandleElId, setInitPosition, setOuterHandleElId, setPadding, setStartPosition, setXConstraint, setXTicks, setYConstraint, setYTicks, startDrag, toString, unlock, unreg
Class Detail
YAHOO.util.DDTarget(id, sGroup, config)
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.
- Parameters:
- {String} id
- the id of the element that is a drop target
- {String} sGroup
- the group of related DragDrop objects
- {object} config
- an object containing configurable attributes Valid properties for DDTarget in addition to those in DragDrop: none