Sha256: 2dec4946b80538444ad02af95413dfc0799b60834dd81adac5c17450efa7063d
Contents?: true
Size: 1.09 KB
Versions: 22
Compression:
Stored size: 1.09 KB
Contents
// ======================================================================== // SproutCore // copyright 2006-2008 Sprout Systems, Inc. // ======================================================================== require('drag/drag') ; /** @namespace This mixin can be used to implement a dynamic data source for a drag operation. You can return a set of allowed data types and then the method will be used to actually get data in that format when requested. */ SC.DragDataSource = { /** Implement this property as an array of data types you want to support for drag operations. */ dragDataTypes: [], /** Implement this method to return the data in the format passed. Return null if the requested data type cannot be generated. @param {Object} dataType The proposed dataType to return. This will always be one of the data types declared in dragDataTypes. @param {SC.Drag} drag The Drag instance managing this drag. @returns The data object for the specified type */ dragDataForType: function(dataType, drag) { return null; } };
Version data entries
22 entries across 22 versions & 1 rubygems