Squirro comes with a number of existing widgets. Any of these widgets can be extended, thus making use of the existing configuration options and all existing code.
This table lists all of the default widgets. The Name column lists the name that is to be used as the baseWidget
in the squirro_widget upload command. The JavaScript class is the class name used in the JavaScript file to extend from.
Name | JavaScript class | Title (in user interface) | Notes |
---|---|---|---|
Base Widgets | |||
Base | Widgets.Base | - (not available in interface) | Using this as a baseWidget will disable any configuration options in the user interface for the widget. This can even be used as a baseWidget when the JavaScript class actually extends from another widget. |
Static | Widgets.Base | - (not available in interface) | Base widget that does not fetch any results from the server.
|
Most Commonly Extended Widgets | |||
FacetsTable | Widgets.FacetsTable | Facets Table | |
Search | Widgets.Search | Result List | |
SearchQuery | Widgets.SearchQuery | Search Bar | |
Others (Alphabetical by UI Title) | |||
PredQuery | Widgets.PredQuery | Bookmarks | |
Cards | Widgets.Cards | Cards Result List | |
FacetsList | Widgets.FacetsList | Facets List | |
Connection | Widgets.Connection | Heat Map | |
HorizontalResultList | Widgets.HorizontalResultList | Horizontal Result List | |
IFrame | Widgets.IFrame | IFrame | |
FacetsHistogram | Widgets.FacetsHistogram | Line Chart | |
Map | Widgets.Map | Map | |
Facets | Widgets.Facets | Pie Chart | |
Reset | Widgets.Reset | Reset Filters | |
SignificantTerms | Widgets.SignificantTerms | Significant Terms | |
Keywords | Widgets.Keywords | Table | |
Text | Widgets.Text | Text | |
Frequency | Widgets.Frequency | Timeline | |
Trend | Widgets.Trend | Trend | |
TagCloud | Widgets.TagCloud | Word Cloud |