Constructor

ResultsContainer

new ResultsContainer()

See also
gapi.cloudsearch.widget.resultscontainer.Builder

Methods

clear

clear()

Removes ResultsContainer's descendant nodes and listeners attached to them.

dispose

dispose()

Removes all DOM elements and event listeners created by ResultsContainer.

executeRequest

executeRequest(request)

Executes a given request. The results will be rendered in the results container.

Parameter

request

Object

Value must not be null.

getCurrentRequest

getCurrentRequest() returns (Object or undefined)

Returns the current request. Return undefined if no request has been executed.

Returns

(non-null Object or undefined) The current request

resetState

resetState()

Reset the state of the ResultsContainer. This will reset the local state such as the facet selection state.