/// /// declare module goog.fx { class DragDropGroup extends DragDropGroup__Class { } /** Fake class which should be extended to avoid inheriting static properties */ class DragDropGroup__Class extends goog.fx.AbstractDragDrop__Class { /** * Drag/drop implementation for creating drag sources/drop targets consisting of * multiple HTML Elements (items). All items share the same drop target(s) but * can be dragged individually. * * @extends {goog.fx.AbstractDragDrop} * @constructor */ constructor(); /** * Add DragDropItem to drag object. * * @param {goog.fx.DragDropItem} item DragDropItem being added to the * drag object. * @throws Error If no element argument is provided or if the type is * invalid */ addDragDropItem(item: goog.fx.DragDropItem): void; /** * Remove item from drag object. * * @param {Element|string} element Dom Node, or string representation of node * id, that was previously added with addItem(). */ removeItem(element: Element|string): void; /** * Marks the supplied list of items as selected. A drag operation for any of the * selected items will affect all of them. * * @param {Array.} list List of items to select or null to * clear selection. * * TODO(eae): Not yet implemented. */ setSelection(list: goog.fx.DragDropItem[]): void; } }