goog.dom.pattern.callback
Namespacegoog.dom.pattern.callback.Counter
ClassCallback class for counting matches. … more
goog.dom.pattern.callback.Test
ClassCallback class for testing for at least one match. … more
.flattenElement(node, position)
Callback function for use in {@link goog.dom.pattern.Matcher.addPattern} that removes the matched node from the tree and replaces it with its children. Should be used in conjunction with a {@link goog.dom.pattern.StartTag} pattern.
node
{Element
}
position
{goog.dom.TagIterator
}
boolean
}
.removeNode(node, position)
Callback function for use in {@link goog.dom.pattern.Matcher.addPattern} that removes the matched node from the tree. Should be used in conjunciton with a {@link goog.dom.pattern.StartTag} pattern.
node
{Node
}
position
{goog.dom.TagIterator
}
boolean
}