Widgets.nfl.season.Standings

Widget nfl.season.standings shows the standings of the selected conference or division.

For the widget to render you need to provide seasonId, other properties are optional.


new Standings(props)

Parameters
Name Type Description
props object
Properties
Name Type Argument Default Description
seasonId number

Sets the selected year.

disableWidgetHeader boolean <optional>
false

When set to true, hides widget header.

selectedConferenceDivision string <optional>
null

Sets conference or division, possible values are:

  • afc_all_divisions
  • afc_east
  • afc_north
  • afc_south
  • afc_west
  • afc_playoffs *
  • nfc_all_divisions
  • nfc_east
  • nfc_north
  • nfc_south
  • nfc_west
  • nfc_playoffs
the afc_playoffs and nfc_playoffs are legal selections only if the selected seasonId has already entered the post season
If this props is null the default selected item is afc_all_divisions.

enableTeamSelect boolean <optional>
false

Enables team selection. Interactive areas are:

  • standings row
TeamId is emitted on click or touch.

onTrack function <optional>

Function/event handler, see Widgets.onTrack

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="nfl.season.standings" data-sr-season-id="2015"></div>
 <script type="application/javascript" src="https://widgets.media.sportradar.com/sportradar/widgetloader" async></script>

JS/Programmatic

<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/sportradar/widgetloader","USW", {
        language: 'en'
    });
    USW('addWidget', '#sr-widget', 'nfl.season.standings', {seasonId: 2015});
</script>
<div id="sr-widget"></div>