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 12 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.Static- (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.PredQueryTabs
CardsWidgets.CardsCards Result List
FacetsListWidgets.FacetsListFacets List
CalendarWidgets.CalendarCalendar
ChoroplethMapWidgets.ChoroplethMapRegion Map
ConnectionWidgets.ConnectionHeat Map
HorizontalResultListWidgets.HorizontalResultListHorizontal Result List
IFrameWidgets.IFrameIFrame
FacetsHistogramWidgets.FacetsHistogramLine Chart
FavoritesWidgets.FavoritesFavorites
LinkWidgets.LinkLink
MapWidgets.MapMap
MetricWidgets.MetricMetric
FacetsWidgets.FacetsPie Chart
FacetsBarWidgets.FacetsBarBar Chart
RecommendationsWidgets.RecommendationsRecommendations
RecommendationsEventsWidgets.RecommendationsEventsRecommendations Events
RecommendationsEntitiesWidgets.RecommendationsEntitiesRecommendations Entities
ResetWidgets.ResetReset Filters
RichTextEditorWidgets.RichTextEditorRich Text Editor
SignificantTermsWidgets.SignificantTermsSignificant Terms
KeywordsWidgets.KeywordsTable
TextWidgets.TextHTML Editor
TimeWidgets.TimeTime Selection
FrequencyWidgets.FrequencyTimeline
SmartfiltersWidgets.SmartfiltersSmart Filters
TrendWidgets.TrendTrend
TrendsListWidgets.TrendsListTrends List
TagCloudWidgets.TagCloudWord Cloud
  • No labels