Widgets.us.season.ncaaf.StandingsSlim

us.season.ncaaf.standingsSlim is a lightweight version standings table.

By default, without any input props, widget renders current season's standings of the first division and conference containing any data, usually fbs/aac.


new StandingsSlim(props)

Parameters
Name Type Description
props object
Properties
Name Type Argument Default Description
seasonId number <optional>

Season id.

division string <optional>
'fbs'

The division of the displayed conference. See List of NCAA divisions/conferences for possible values.

conference string <optional>
'aac'

The displayed conference. See List of NCAA divisions/conferences for possible values.

uniqueTeamId number <optional>

Unique team ID, that if set then any provided division and conference values are ignored, and instead the widget displays the conference that the team belongs to.

disableHeader boolean <optional>

If true hides widget header.

enableDropdown boolean <optional>

If true enables division and conference dropdown selectors. Unless uniqueTeamId is set.

border boolean <optional>

If true enables a border around the widget.

onItemClick function <optional>

Function/event handler. Emits uniqueTeamId on click or touch.

Examples

HTML/Declarative

<div class="sr-widget" data-sr-widget="us.season.ncaaf.standingsSlim" data-sr-season-id="57130" data-sr-division="fbs" data-sr-conference="aac"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/uscommon/widgetloader" data-sr-language="en_us" 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/uscommon/widgetloader","USW", {
        language: 'en_us'
    });
    USW('addWidget', '#sr-widget', 'us.season.ncaaf.standingsSlim', {seasonId: 57130, division: 'fbs', conference: 'aac'});
</script>
<div id="sr-widget"></div>

JS/Example of using Event Handler

<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/uscommon/widgetloader","USW", {
        language: 'en_us'
    });
    USW('addWidget', '#sr-widget', 'us.season.ncaaf.standingsSlim', {seasonId: 57130, uniqueTeamId: 4309, onItemClick: function(type, obj){alert('uniqueTeamId: ' + obj.uniqueTeamId);}});
</script>
<div id="sr-widget"></div>