Special Teams
us.season.nfl.specialTeams displays special teams statistics for each NFL team in a given season.
For the widget to render you must provide a valid seasonId
. All other properties are optional.
Parameters
Name | Type | Description | ||||
---|---|---|---|---|---|---|
props |
object | properties | ||||
Name | Type | Argument | Default | Description | ||
seasonId |
number | required | NFL Season ID (Year) | |||
seasonType |
string | optional | null | Sets the default selected season type. Valid values are: pre , reg , or pst . If set to null , the widget will display the active week of the specified seasonId . |
||
teamId |
string | optional | null | Sets the selected team. If this is set to null the alphabetically first team of the NFC will be displayed. |
||
disableWidgetHeader |
boolean | optional | 'false' | When set to true hides the widget header. |
||
enableTeamSelect |
boolean | optional | 'false' | Enables team selection. Interactive areas are: team and dropdown. TeamId is emitted when the dropdown selection changes. | ||
border |
boolean | optional | If true enables a border around the widget. |
Examples
<div class="sr-widget" data-sr-widget="us.season.nfl.specialTeams" data-sr-season-id="2015"></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.season.nfl.specialTeams', {seasonId: 2015});
</script>
<div id="sr-widget"></div>
Updated over 1 year ago