Lines Matching defs:Sortable

8      * @class Sortable
14 var Sortable = function(o) {
15 Sortable.superclass.constructor.apply(this, arguments);
28 Y.extend(Sortable, Y.Base, {
73 Sortable.reg(this);
130 if (Y.Sortable._test(dropNode, this.get(CONT))) {
141 dropsort = Y.Sortable.getSortable(e.drop.get(NODE).get(PARENT_NODE));
227 Sortable.unreg(this);
231 * @param Sortable sel The Sortable list to join with
233 * @description Join this Sortable with another Sortable instance.
243 if (!(sel instanceof Y.Sortable)) {
244 Y.error('Sortable: join needs a Sortable Instance');
262 * @param Sortable sel The Sortable to remove the join from
263 * @description Removes the join with the passed Sortable.
272 * @param Sortable sel The Sortable list to join with
282 * @param Sortable sel The Sortable list to join with
283 * @description Allows this Sortable to accept items from the passed Sortable.
291 * @param Sortable sel The Sortable list to join with
292 * @description Allows this Sortable to give items to the passed Sortable.
362 * @description The id of this Sortable, used to get a reference to this Sortable list from another list.
410 * @param {String|Node} node The node instance or selector string to use to find a Sortable instance.
411 * @description Get a Sortable instance back from a node reference or a selector string.
416 Y.each(Y.Sortable._sortables, function(v) {
417 if (Y.Sortable._test(node, v.get(CONT))) {
426 * @param Sortable s A Sortable instance.
427 * @description Register a Sortable instance with the singleton to allow lookups later.
430 Y.Sortable._sortables.push(s);
435 * @param Sortable s A Sortable instance.
436 * @description Unregister a Sortable instance with the singleton.
439 Y.each(Y.Sortable._sortables, function(v, k) {
441 Y.Sortable._sortables[k] = null;
442 delete Sortable._sortables[k];
448 Y.Sortable = Sortable;
452 * @description A Sortable node was moved with a copy.
461 * @description A Sortable node was moved with a move.
470 * @description A Sortable node was moved with an insert.
479 * @description A Sortable node was moved with a swap.
488 * @description A Sortable node was moved.