The goog.ui.ac.Renderer.CustomRenderer Class

goog.ui.ac.Renderer.CustomRenderer()

Class allowing different implementations to custom render the autocomplete. Extending classes should override the render function.

.render() {function(goog.ui.ac.Renderer, Element, Array, string)| null|undefined}

Renders the autocomplete box. May be set to null.

.renderRow(row, token, node)

Generic function that takes a row and renders a DOM structure for that row.

row {Object}
Object representing row.
token {string}
Token to highlight.
node {Node}
The node to render into.