A widget showing the match schedule of upcoming matches in a scrollable list. The matches shown are based in the highlights (the popular list in the sportsbook). The matches are ordered by their start date.
The matches shown are from the events that are related to the links in the highlight list AND are also inside the provided filter
argument.
If the combine
argument is false
only the matches from the first matched highlight will be shown, if it is true
then the widget will show the matches from all the matched highlights.
In desktop mode the widget has clickable arrows to scroll the widget, In mobile mode the widget instead scrolls normally (by "tap-draging"). In mobile mode the widget has a smaller main logo which will be shown briefly before automatically scrolling it out of sight.
Arguments and default values:
"args": {
"filter": [
"/football/champions_league",
"/football/england/premier_league",
"/football/europa_league",
"/football/france/ligue_1",
"/football/germany/bundesliga",
"/football/international_friendly_matches",
"/football/italy/serie_a",
"/football/norway/tippeligaen",
"/football/spain/laliga",
"/football/sweden/allsvenskan",
"/football/world_cup_qualifying_-_asia",
"/football/world_cup_qualifying_-_europe",
"/football/world_cup_qualifying_-_north__central___caribbean",
"/football/world_cup_qualifying_-_south_america",
"/football/belgium/jupiler_pro_league",
"/football/netherlands/eredivisie"
],
"combineFilters": false,
"pollingInterval": 30000,
"pollingCount": 4,
"eventsRefreshInterval": 120000,
"widgetTrackingName": "gm-match-overview-widget",
"compareAgainstHighlights": true,
}
filter
- Array - list of filters to match against the highlights. Only matches from these filters will show up in the widget.combineFilters
- boolean - if true will use all the filters that are also with the highlights mixing different tournaments togetherpollingInterval
- number - interval in milliseconds to get new live data from live matchespollingCount
- number - maximum number of matches to poll for live data at the same timeeventsRefreshInterval
- number - interval in milliseconds to look for live eventswidgetTrackingName
- string - tracking name for analytics purposescompareAgainstHighlights
- boolean - determines whether you want to compare whether the filters are within the highlighted events (popular events) or not. Will use the first item in the filter that returns events.
Please refer to the core-library