Turnover Calculator
us.match.nfl.turnoverCalculator compares the turnovers for each team in a given game.
For the widget to render you must provide a valid matchId
.
Parameters
Name | Type | Argument | Default | Description |
matchId |
string | required | Match ID | |
disableWidgetHeader |
boolean | optional | false | When set to true hides the widget header. |
disableMatchHeader |
boolean | optional | false | When set to true hides the match header. |
collapseGameInformation |
boolean | optional | true | When set to false opens the game information section |
selectedQuarter |
number | optional | null | Displays turnovers of the specified quarter. Can be one of 1 , 2 , 3 , 4 , or 5 (overtime). |
selectedTurnover |
number | optional | null | 0 based index setting the displayed turnover in the quarter set with selectedQuarter . If selectedQuarter is not provided the first quarter will be selected. |
enableTeamSelect |
boolean | optional | false | When set to true enables team selection. Interactive areas are: team name and logo in a match header and team logo under Turnover comparison. TeamId is emitted on click or touch. |
border |
boolean | optional | If true draws a border around the widget. |
Examples
<div class="sr-widget" data-sr-widget="us.match.nfl.turnoverCalculator" data-sr-match-id="sd:match:2724b0ed-71b1-4c35-a977-087f4f9404f4"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>
</script>
(function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
)})(window,document,"script","https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
language: 'en_us'
});
SIR('addWidget', '#sr-widget', 'us.match.nfl.turnoverCalculator', {matchId: 'sd:match:2724b0ed-71b1-4c35-a977-087f4f9404f4'});
</script>
<div id="sr-widget"></div>
Updated almost 2 years ago