Lines Matching refs:type
107 …// that pseudo is needed for a classname, and defines the type of interaction (focus, hover, activ…
145 patch:function(node, type, className) {
147 // the patch's type is returned to the expression. That way the expression property
162 // create an instance for the given type and class
163 var element = new CSSHoverElement(node, type, className);
170 return type;
210 function CSSHoverElement(node, type, className) {
216 this.type = type;
224 node.attachEvent(CSSEvents[type].activator, this.activator);
225 node.attachEvent(CSSEvents[type].deactivator, this.deactivator);
233 this.node.detachEvent(CSSEvents[this.type].activator, this.activator);
234 this.node.detachEvent(CSSEvents[this.type].deactivator, this.deactivator);
240 this.type = null;
249 return function(node, type, className) {
252 return CSSHover.patch(node, type, className);