Search

Searched defs:type (Results 1 - 5 of 5) sorted by relevance

/yui3/src/test/js/
H A DEventTarget.js12 * @type Object
31 * Adds a listener for a given event type.
32 * @param {String} type The type of event to add a listener for.
37 attach: function(type, listener){
38 if (typeof this._handlers[type] == "undefined"){
39 this._handlers[type] = [];
42 this._handlers[type].push(listener);
46 * Adds a listener for a given event type.
47 * @param {String} type Th
66 event = { type: event }; property
[all...]
/yui3/src/node/js/
H A Dnode-ie.js26 // IE throws error when setting input.type = 'hidden',
27 // input.setAttribute('type', 'hidden') and input.attributes.type.value = 'hidden'
28 Y.Node.ATTRS.type = {
32 this._node.type = 'hidden';
38 try { // IE errors when changing the type from "hidden'
39 this._node.type = val;
41 Y.log('error setting type: ' + val, 'info', 'node');
48 return this._inputType || this._node.type;
/yui3/src/event/js/
H A Dsynthetic.js85 event.type = ce.type;
111 * @param key {String} the generated id token used to identify an event type +
127 type : '_synth',
176 * at least support the detachAll method to duck type its way to
196 * <code>Y.Event.define(type, config)</code>. See that method for details.</p>
217 * type. Passing true as the third argument will create a registry entry
222 * @param type {String} the event
230 getRegistry: function (node, type, create) {
233 key = 'event:' + yuid + type
[all...]
/yui3/src/yui/js/
H A Dyui-lang.js83 return L.type(o) === 'array';
105 return L.type(o) === 'date' && o.toString() !== 'Invalid Date' && !isNaN(o);
133 return L.type(o) === 'function';
159 * Determines whether or not the provided item is of type object
207 var t = L.type(o);
296 Returns one of the following strings, representing the type of the item passed
314 `Y.Lang.type()` reports "object", which could be a good thing --
317 @method type
319 @return {string} the detected type.
322 L.type
[all...]
/yui3/src/transition/js/
H A Dtransition-native.js254 type: 'transition:start',
353 type: 'transition:end',
413 type: 'propertyEnd',

Completed in 111 milliseconds