| /yui3/build/node-style/ |
| H A D | node-style-debug.js | 15 * @param {String} attr The style attribute to set. 19 setStyle: function(attr, val) { 20 Y.DOM.setStyle(this._node, attr, val); 41 * @param {String} attr The style attribute to retrieve. 45 getStyle: function(attr) { 46 return Y.DOM.getStyle(this._node, attr); 53 * @param {String} attr The style attribute to retrieve. 56 getComputedStyle: function(attr) { 57 return Y.DOM.getComputedStyle(this._node, attr); 67 * @param {String} attr Th [all...] |
| /yui3/src/node/js/ |
| H A D | node-style.js | 13 * @param {String} attr The style attribute to set. 17 setStyle: function(attr, val) { 18 Y.DOM.setStyle(this._node, attr, val); 39 * @param {String} attr The style attribute to retrieve. 43 getStyle: function(attr) { 44 return Y.DOM.getStyle(this._node, attr); 51 * @param {String} attr The style attribute to retrieve. 54 getComputedStyle: function(attr) { 55 return Y.DOM.getComputedStyle(this._node, attr); 65 * @param {String} attr Th [all...] |
| H A D | node-ie.js | 3 Y.Node.prototype.hasAttribute = function(attr) { 4 if (attr === 'value') { 9 return !!(this._node.attributes[attr] && 10 this._node.attributes[attr].specified);
|
| H A D | node-imports.js | 115 Y.Node.prototype.removeAttribute = function(attr) { 118 node.removeAttribute(attr);
|
| H A D | node-core.js | 387 * @param {String} attr The attribute 390 get: function(attr) { 394 val = this._getAttr(attr); 396 val = this._get(attr); 411 * @param {String} attr The attribute 414 _get: function(attr) { 415 var attrConfig = Y_Node.ATTRS[attr], 420 } else if (Y_Node.re_aria.test(attr)) { 421 val = this._node.getAttribute(attr, 2); 436 * @param {String} attr Th [all...] |
| /yui3/src/graphics/js/ |
| H A D | GraphicBase.js | 72 attr, 80 attr = attrConfig[i]; 81 if(attr.hasOwnProperty(VALUE)) 83 state[i] = attr.value; 85 else if(attr.hasOwnProperty(VALUEFN)) 87 fn = attr.valueFn; 104 attr = attrConfig[i]; 105 if(attr.hasOwnProperty(READONLY) && attr.readOnly) 110 if(attr [all...] |
| /yui3/build/graphics/ |
| H A D | graphics-debug.js | 74 attr, 82 attr = attrConfig[i]; 83 if(attr.hasOwnProperty(VALUE)) 85 state[i] = attr.value; 87 else if(attr.hasOwnProperty(VALUEFN)) 89 fn = attr.valueFn; 106 attr = attrConfig[i]; 107 if(attr.hasOwnProperty(READONLY) && attr.readOnly) 112 if(attr [all...] |
| /yui3/build/attribute-complex/ |
| H A D | attribute-complex-debug.js | 35 attr, 43 attr = path.shift(); 44 v = subvals[attr] = subvals[attr] || []; 66 * @param {String} attr The name of the attribute 75 _getAttrInitVal : function(attr, cfg, initValues) { 92 val = valFn.call(this, attr); 100 if (simple && simple.hasOwnProperty(attr)) { 101 val = simple[attr]; 106 if (complex && complex.hasOwnProperty(attr)) { [all...] |
| /yui3/src/attribute/js/ |
| H A D | ComplexAttribute.js | 33 attr, 41 attr = path.shift(); 42 v = subvals[attr] = subvals[attr] || []; 64 * @param {String} attr The name of the attribute 73 _getAttrInitVal : function(attr, cfg, initValues) { 90 val = valFn.call(this, attr); 98 if (simple && simple.hasOwnProperty(attr)) { 99 val = simple[attr]; 104 if (complex && complex.hasOwnProperty(attr)) { [all...] |
| H A D | AttributeCore.js | 657 for (var attr in attrs) { 658 if ( attrs.hasOwnProperty(attr) ) { 659 this.set(attr, attrs[attr]); 689 i, l, attr, val, 697 attr = attrs[i]; 698 val = host.get(attr); 700 if (!modifiedOnly || host._getStateVal(attr) != host._state.get(attr, INIT_VALUE)) { 701 o[attr] [all...] |
| /yui3/src/base/js/ |
| H A D | BaseCore.js | 327 var cfgs = null, attr, attrs = clazz.ATTRS; 330 for (attr in attrs) { 331 if (allCfgs[attr]) { 333 cfgs[attr] = allCfgs[attr]; 334 allCfgs[attr] = null; 356 attr; 360 for (attr in userVals) { 361 if (!allAttrs[attr] && !nonAttrs[attr] [all...] |
| /yui3/src/dom/js/ |
| H A D | dom-attrs.js | 66 * @param {String} attr The attribute to set. 69 setAttribute: function(el, attr, val, ieAttr) { 70 if (el && attr && el.setAttribute) { 71 attr = Y_DOM.CUSTOM_ATTRIBUTES[attr] || attr; 72 el.setAttribute(attr, val, ieAttr); 82 * @param {String} attr The attribute to get. 85 getAttribute: function(el, attr, ieAttr) { 88 if (el && attr [all...] |
| H A D | dom-style.js | 182 Y.DOM._getAttrOffset = function(node, attr) { 183 var val = Y.DOM[GET_COMPUTED_STYLE](node, attr), 194 parentOffset = offsetParent[GET_BOUNDING_CLIENT_RECT]()[attr]; 195 offset = node[GET_BOUNDING_CLIENT_RECT]()[attr]; 196 if (attr === 'left' || attr === 'top') { 199 val = parentOffset - node[GET_BOUNDING_CLIENT_RECT]()[attr];
|
| /yui3/build/dom-attrs/ |
| H A D | dom-attrs-debug.js | 64 * @param {String} attr The attribute to set. 67 setAttribute: function(el, attr, val, ieAttr) { 68 if (el && attr && el.setAttribute) { 69 attr = Y_DOM.CUSTOM_ATTRIBUTES[attr] || attr; 70 el.setAttribute(attr, val, ieAttr); 80 * @param {String} attr The attribute to get. 83 getAttribute: function(el, attr, ieAttr) { 86 if (el && attr [all...] |
| /yui3/build/base-core/ |
| H A D | base-core-debug.js | 329 var cfgs = null, attr, attrs = clazz.ATTRS; 332 for (attr in attrs) { 333 if (allCfgs[attr]) { 335 cfgs[attr] = allCfgs[attr]; 336 allCfgs[attr] = null; 358 attr; 362 for (attr in userVals) { 363 if (!allAttrs[attr] && !nonAttrs[attr] [all...] |
| /yui3/build/attribute-core/ |
| H A D | attribute-core-debug.js | 791 for (var attr in attrs) { 792 if ( attrs.hasOwnProperty(attr) ) { 793 this.set(attr, attrs[attr]); 823 i, l, attr, val, 831 attr = attrs[i]; 832 val = host.get(attr); 834 if (!modifiedOnly || host._getStateVal(attr) != host._state.get(attr, INIT_VALUE)) { 835 o[attr] [all...] |
| /yui3/build/transition/ |
| H A D | transition-debug.js | 150 attr, 157 attr = attrs[prop]; 171 if (attr && attr.transition) { 173 if (attr.transition !== anim) { 174 attr.transition._count--; // remapping attr to this transition 223 var attr, 231 for (attr in config) { 232 if (config.hasOwnProperty(attr) [all...] |
| /yui3/build/transition-native/ |
| H A D | transition-native-debug.js | 149 attr, 156 attr = attrs[prop]; 170 if (attr && attr.transition) { 172 if (attr.transition !== anim) { 173 attr.transition._count--; // remapping attr to this transition 222 var attr, 230 for (attr in config) { 231 if (config.hasOwnProperty(attr) [all...] |
| /yui3/src/transition/js/ |
| H A D | transition-native.js | 148 attr, 155 attr = attrs[prop]; 169 if (attr && attr.transition) { 171 if (attr.transition !== anim) { 172 attr.transition._count--; // remapping attr to this transition 221 var attr, 229 for (attr in config) { 230 if (config.hasOwnProperty(attr) [all...] |
| /yui3/build/dom-base/ |
| H A D | dom-base-debug.js | 68 * @param {String} attr The attribute to set. 71 setAttribute: function(el, attr, val, ieAttr) { 72 if (el && attr && el.setAttribute) { 73 attr = Y_DOM.CUSTOM_ATTRIBUTES[attr] || attr; 74 el.setAttribute(attr, val, ieAttr); 84 * @param {String} attr The attribute to get. 87 getAttribute: function(el, attr, ieAttr) { 90 if (el && attr [all...] |
| /yui3/src/anim/js/ |
| H A D | anim.js | 104 get: function(anim, attr) { 105 return anim._getOffset(attr); 534 var attr = this._runtimeAttr, 536 easing = attr.easing, 552 for (i in attr) { 553 if (attr[i].to) { 554 attribute = attr[i]; 597 attr = { 602 node = this.get(NODE), // implicit attr init 634 attr[nam [all...] |
| /yui3/build/anim-base/ |
| H A D | anim-base-debug.js | 106 get: function(anim, attr) { 107 return anim._getOffset(attr); 536 var attr = this._runtimeAttr, 538 easing = attr.easing, 554 for (i in attr) { 555 if (attr[i].to) { 556 attribute = attr[i]; 599 attr = { 604 node = this.get(NODE), // implicit attr init 636 attr[nam [all...] |
| /yui3/build/dom-style/ |
| H A D | dom-style-debug.js | 184 Y.DOM._getAttrOffset = function(node, attr) { 185 var val = Y.DOM[GET_COMPUTED_STYLE](node, attr), 196 parentOffset = offsetParent[GET_BOUNDING_CLIENT_RECT]()[attr]; 197 offset = node[GET_BOUNDING_CLIENT_RECT]()[attr]; 198 if (attr === 'left' || attr === 'top') { 201 val = parentOffset - node[GET_BOUNDING_CLIENT_RECT]()[attr];
|
| /yui3/build/node-core/ |
| H A D | node-core-debug.js | 389 * @param {String} attr The attribute 392 get: function(attr) { 396 val = this._getAttr(attr); 398 val = this._get(attr); 413 * @param {String} attr The attribute 416 _get: function(attr) { 417 var attrConfig = Y_Node.ATTRS[attr], 422 } else if (Y_Node.re_aria.test(attr)) { 423 val = this._node.getAttribute(attr, 2); 438 * @param {String} attr Th [all...] |
| /yui3/build/button-base/ |
| H A D | button-base-debug.js | 66 attr = (node.get('tagName').toLowerCase() === 'input') ? 'value' : 'text'; 68 node.set(attr, value); 81 attr = (node.get('tagName').toLowerCase() === 'input') ? 'value' : 'text', 84 value = node.get(attr);
|