Lines Matching defs:node

16         NODE = 'node',
87 * <dt>pageX</dt><dd>The original node position X.</dd>
88 * <dt>pageY</dt><dd>The original node position Y.</dd>
100 * <dt>pageX</dt><dd>The current node position X.</dd>
101 * <dt>pageY</dt><dd>The current node position Y.</dd>
114 * <dt>pageX</dt><dd>The current node position X.</dd>
115 * <dt>pageY</dt><dd>The current node position Y.</dd>
126 * @description Fires when this node is aligned.
129 * <dt>pageX</dt><dd>The current node position X.</dd>
130 * <dt>pageY</dt><dd>The current node position Y.</dd>
138 * @description Fires when this node is over a Drop Target. (Fired from dd-drop)
149 * @description Fires when this node enters a Drop Target. (Fired from dd-drop)
160 * @description Fires when this node exits a Drop Target. (Fired from dd-drop)
170 * @description Fires when this node is dropped on a valid Drop Target. (Fired from dd-ddm-drop)
182 * @description Fires when this node is dropped on an invalid Drop Target. (Fired from dd-ddm-drop)
185 * <dt>pageX</dt><dd>The current node position X.</dd>
186 * <dt>pageY</dt><dd>The current node position Y.</dd>
198 Y.error('Failed to register node, already in use: ' + o.node);
213 * @attribute node
217 node: {
218 setter: function(node) {
219 if (this._canDrag(node)) {
220 return node;
222 var n = Y.one(node);
224 Y.error('DD.Drag: Invalid Node Given: ' + node);
231 * @description Y.Node instance to use as the draggable element, defaults to node
235 setter: function(node) {
236 if (this._canDrag(node)) {
237 return node;
239 var n = Y.one(node);
241 Y.error('DD.Drag: Invalid dragNode Given: ' + node);
347 * @description This attribute only works if the dd-drop module has been loaded. It will make this node a drop target as well as draggable.
442 * Normally this would be a node instance, but in the case of Graphics, it
443 * may be an SVG node or something similar.
510 config.node = this.get(NODE);
679 * @description The xy that the node will be set to. Changing this will alter the position as it's dragged.
685 * @description The real xy position of the node.
1002 var node = this.get(NODE);
1003 node.addClass(DDM.CSS_PREFIX + '-draggable');
1004 node.on(Drag.START_EVENT, Y.bind(this._handleMouseDownEvent, this));
1005 node.on('mouseup', Y.bind(this._handleMouseUp, this));
1006 node.on('dragstart', Y.bind(this._fixDragStart, this));
1014 var node = this.get(NODE);
1015 node.removeClass(DDM.CSS_PREFIX + '-draggable');
1016 node.detachAll('mouseup');
1017 node.detachAll('dragstart');
1018 node.detachAll(Drag.START_EVENT);
1035 var node = this.get(NODE), ow, oh, xy;
1039 node.addClass(DDM.CSS_PREFIX + '-dragging');
1045 node = this.get(DRAG_NODE);
1048 ow = node.get(OFFSET_WIDTH);
1049 oh = node.get(OFFSET_HEIGHT);
1108 * @description Handler for preventing the drag:end event. It will reset the node back to it's start position
1196 e.scroll.node.set('scrollTop', e.scroll.top);
1197 e.scroll.node.set('scrollLeft', e.scroll.left);