search

goog.ui.ac.Renderer

Provided By
Extends
All Implemented Interfaces

Class for rendering the results of an auto-complete in a drop down list.

new Renderer( opt_parentNode, opt_customRenderer, opt_rightAlign, opt_useStandardHighlighting )

Parameters
opt_parentNode(Element|null)=

optional reference to the parent element that will hold the autocomplete elements. goog.dom.getDocument().body will be used if this is null.

opt_customRenderer({renderRow: ?}|{render: ?}|null)=

Custom full renderer to render each row. Should be something with a renderRow or render method.

opt_rightAlignboolean=

Determines if the autocomplete will always be right aligned. False by default.

opt_useStandardHighlightingboolean=

Determines if standard highlighting should be applied to each row of data. Standard highlighting bolds every matching substring for a given token in each row. True by default.

Instance Methods

Instance Properties

Static Properties

Classes