MCPcopy
hub / github.com/layui/layui / createInputPseudo

Function createInputPseudo

src/modules/jquery.js:1009–1013  ·  view source on GitHub ↗

* Returns a function to use in pseudos for input types * @param {String} type

(type)

Source from the content-addressed store, hash-verified

1007 * @param {String} type
1008 */
1009 function createInputPseudo(type) {
1010 return function (elem) {
1011 return nodeName(elem, 'input') && elem.type === type;
1012 };
1013 }
1014
1015 /**
1016 * Returns a function to use in pseudos for buttons

Callers 1

jquery.jsFile · 0.85

Calls 1

nodeNameFunction · 0.85

Tested by

no test coverage detected