Lines Matching refs:Y_Node

37     Y_Node = function(node) {
39 return new Y_Node(node);
43 node = Y_Node._fromString(node);
51 if (uid && Y_Node._instances[uid] && Y_Node._instances[uid]._node !== node) {
93 Y_Node.ATTRS = {};
94 Y_Node.DOM_EVENTS = {};
96 Y_Node._fromString = function(node) {
115 Y_Node.NAME = 'node';
120 Y_Node.re_aria = /^(?:role$|aria-)/;
122 Y_Node.SHOW_TRANSITION = 'fadeIn';
123 Y_Node.HIDE_TRANSITION = 'fadeOut';
132 Y_Node._instances = {};
143 Y_Node.getDOMNode = function(node) {
161 Y_Node.scrubVal = function(val, node) {
191 Y_Node.addMethod = function(name, fn, context) {
193 Y_Node.prototype[name] = function() {
210 ret = Y_Node.scrubVal(ret, node);
231 Y_Node.importMethod = function(host, name, altName) {
234 Y_Node.addMethod(altName, host[name], host);
237 Y_Node.importMethod(host, n);
273 Y_Node.one = function(node) {
280 node = Y_Node._fromString(node);
290 instance = Y_Node._instances[uid]; // reuse exising instances
293 instance = new Y_Node(node);
295 Y_Node._instances[instance[UID]] = instance; // cache node
313 Y_Node.DEFAULT_SETTER = function(name, val) {
337 Y_Node.DEFAULT_GETTER = function(name) {
350 Y.mix(Y_Node.prototype, {
402 val = Y_Node.scrubVal(val, this);
417 var attrConfig = Y_Node.ATTRS[attr],
422 } else if (Y_Node.re_aria.test(attr)) {
425 val = Y_Node.DEFAULT_GETTER.apply(this, arguments);
443 var attrConfig = Y_Node.ATTRS[attr];
450 } else if (Y_Node.re_aria.test(attr)) { // special case Aria
453 Y_Node.DEFAULT_SETTER.apply(this, arguments);
685 newNode = Y_Node.create(newNode);
687 node.parentNode.replaceChild(Y_Node.getDOMNode(newNode), node);
703 return Y.one(this._node.replaceChild(Y_Node.getDOMNode(node), Y_Node.getDOMNode(refNode)));
727 instance = Y_Node._instances[node[UID]];
737 delete Y_Node._instances[this._yuid];
763 return Y_Node.scrubVal(ret, this);
775 this._node.swapNode(Y_Node.getDOMNode(otherNode));
778 otherNode = Y_Node.getDOMNode(otherNode);
827 Y.Node = Y_Node;
828 Y.one = Y_Node.one;