dom.pattern.callback.Counter Extends
Callback class for counting matches.

Inheritance

Constructor

goog.dom.pattern.callback.Counter()

Instance Methods

Public Protected Private
getCallback() !Function
Get a bound callback function that is suitable as a callback for goog.dom.pattern.Matcher.
Returns: !Function  A callback function.
code »
reset()
Reset the counter.
code »

Instance Properties

callback_ :
The callback function. Suitable as a callback for goog.dom.pattern.Matcher.
Code »
count :
The count of objects matched so far.
Code »

Package dom.pattern.callback

Package Reference