MCPcopy Create free account
hub / github.com/jquery/jquery-ui / createInputPseudo

Function createInputPseudo

external/jquery/jquery.js:1001–1005  ·  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

999 * @param {String} type
1000 */
1001function createInputPseudo( type ) {
1002 return function( elem ) {
1003 return nodeName( elem, "input" ) && elem.type === type;
1004 };
1005}
1006
1007/**
1008 * Returns a function to use in pseudos for buttons

Callers 1

jquery.jsFile · 0.70

Calls 1

nodeNameFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…