goog.dom.pattern.ChildMatches
Classgoog.dom.pattern.ChildMatches
> goog.dom.pattern.AllChildren
> goog.dom.pattern.AbstractPattern
goog.dom.pattern.ChildMatches(childPattern, opt_minimumMatches)
Pattern object that matches any nodes at or below the current tree depth.
childPattern
{goog.dom.pattern.AbstractPattern
}
opt_minimumMatches
{number
=}
.matchToken(token, type)
Test whether the given token is on the same level.
token
{Node
}
type
{goog.dom.TagWalkType
}
goog.dom.pattern.MatchType
}
.matchedNode
{Node
}Inherited from goog.dom.pattern.AbstractPattern
.
The first node matched by this pattern.
.matches
{Array
.<Node
>}Array of matched child nodes.
.reset()
Reset any internal state this pattern keeps.