MCPcopy Create free account
hub / github.com/dcloudio/mui / findRow

Function findRow

js/input.plugin.js:25–32  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

23 var SELECTOR_TOOLTIP = '.' + CLASS_TOOLTIP;
24
25 var findRow = function(target) {
26 for (; target && target !== document; target = target.parentNode) {
27 if (target.classList && target.classList.contains(CLASS_INPUT_ROW)) {
28 return target;
29 }
30 }
31 return null;
32 };
33 var Input = function(element, options) {
34 this.element = element;
35 this.options = options || {

Callers 1

input.plugin.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected