Closure Library API Documentation
Go to class or file:
dom.pattern.callback.Test
Extends
Callback class for testing for at least one match.
Useful links
Source Code
Git
Inheritance
goog.dom.pattern.callback.Test
Constructor
goog.dom.pattern.callback.Test(
)
Instance Methods
Public
Protected
Private
Defined in
goog.dom.pattern.callback.Test
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
Defined in
goog.dom.pattern.callback.Test
callback_
:
The callback function. Suitable as a callback for
goog.dom.pattern.Matcher
.
Code »
matched
:
Whether or not the pattern matched.
Code »
Package dom.pattern.callback
Package Reference