Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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.

NameJavaScript classTitle (in user interface)Notes
Base Widgets
BaseWidgets.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.

StaticWidgets.Base- (not available in interface)

Base widget that does not fetch any results from the server.

getCollection can be defined to fetch a custom collection.

Most Commonly Extended Widgets
FacetsTableWidgets.FacetsTableFacets Table
SearchWidgets.SearchResult List

SearchQuery


Widgets.SearchQuerySearch Bar
Others (Alphabetical by UI Title)
PredQueryWidgets.PredQueryBookmarks
CardsWidgets.CardsCards Result List
FacetsListWidgets.FacetsListFacets List
ConnectionWidgets.ConnectionHeat Map
HorizontalResultListWidgets.HorizontalResultListHorizontal Result List
IFrameWidgets.IFrameIFrame
FacetsHistogramWidgets.FacetsHistogramLine Chart
MapWidgets.MapMap
FacetsWidgets.FacetsPie Chart
ResetWidgets.ResetReset Filters
SignificantTermsWidgets.SignificantTermsSignificant Terms
KeywordsWidgets.KeywordsTable
TextWidgets.TextText
FrequencyWidgets.FrequencyTimeline
TrendWidgets.TrendTrend
TagCloudWidgets.TagCloudWord Cloud
  • No labels