Class AjaxSolr.AbstractWidget
AbstractWidget
Defined in: AbstractWidget.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AjaxSolr.AbstractWidget(properties)
Baseclass for all widgets.
|
Field Attributes | Field Name and Description |
---|---|
A unique identifier of this widget.
|
|
<private> |
A reference to the widget's manager.
|
The CSS selector for this widget's target HTML element, e.g.
|
Method Attributes | Method Name and Description |
---|---|
An abstract hook for child implementations.
|
|
An abstract hook for child implementations.
|
|
init()
An abstract hook for child implementations.
|
Class Detail
AjaxSolr.AbstractWidget(properties)
Baseclass for all widgets.
Provides abstract hooks for child classes.
- Parameters:
- properties
- A map of fields to set. May be new or public fields.
Field Detail
{String}
id
A unique identifier of this widget.
<private>
{AjaxSolr.AbstractManager}
manager
A reference to the widget's manager. For internal use only.
{String}
target
The CSS selector for this widget's target HTML element, e.g. a specific
div or ul. A Widget is usually implemented to perform
all its UI changes relative to its target HTML element.
Method Detail
afterRequest()
An abstract hook for child implementations.
This method is executed after the Solr response is received.
beforeRequest()
An abstract hook for child implementations.
This method is executed before the Solr request is sent.
init()
An abstract hook for child implementations.
This method should do any necessary one-time initializations.