Tab Widget
Purpose
Displays tab list of widgets, when a tab is selected the widget content will be displayed. The search type ahead and search results pages use this widget to display the search results from each tab.
Features
Displays tab list of widgets, when a tab is selected the widget content will be displayed. The search type ahead and search results pages use this widget to display the search results from each tab. The Order and tab name as well as a callbackmethod are managed on the widget property “tabs”
Details
-
- Widget Name: TabWidget
- Available With: Release 4.8
- Content App Type: N/A
- Content Type: N/A
- Content App Name: N/A
- List Name: N/A
- Recommended Images Sizes: N/A
- Dependencies: SharePoint Search
Content
N/A
Properties
Tabs | Set of widget instances to display. the format of the json is: [{“title”:”title on tab this can be tokenized”,”id”:”widget instance id”,”callback”:”SearchTabCallback”},{“title”:”Another title”,”id”:”widget instance id 2″,”callback”:”anotherCallback”}] |
Function to call after fetching data | OOTB -Blank (used for widget expansion): Name of the function called after the UI has been rendered to the screen. |
Function to call before binding the UI events | OOTB -Blank (used for widget expansion): Name of the function called after the UI has been rendered to the screen |
Views
View Name: default
View Description: Display a tab view of the different search results widgets
View Preview: Display tabs on the search results page
View Name: typeahead
View Description: Display the Tab widgets in the type ahead search on the header
View Preview: