Widgets.us.season.ncaab.Playoffs

us.season.ncaab.playoffs shows playoffs bracket i.e. tree diagram that represents the series of games played during a playoffs tournament.

Widget renders without any input props playoffs bracket for the NCAA tournament most recent postseason.


new Playoffs(props)

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

Selected season id. Can be from any NCAAB unique tournament sequence (ALL: 29630, REGULAR: 648, NCAA: 28370, NIT: 24135, CBI: 28372, CIT: 28374). NCAAB non playoff tournament season id (i.e. from unique tournaments ALL: 29630 and REGULAR: 648) will be translated to season id of selected uniqueTournamentId property or if uniqueTournamentId is not set to NCAA 28370. Has priority over year.

uniqueTournamentId number <optional>

Selected unique tournament id. Supported are all playoffs NCAAB unique tournaments NCAA: 28370, NIT: 24135, CBI: 28372, CIT: 28374. Standalone will render selected tournament active season. In conjunction with seasonId or year translates season of seasonId or year property to season of this selected uniqueTournamentId property. If neither seasonId or uniqueTournamentId are set, the widget renders the NCAA tournament 28370 most recent postseason.

year number <optional>

Selected year as friendly alternative to seasonId. It is the end year property of selected playoffs season.

showHeaderTitle boolean <optional>
true

If false hides header title.

showHeaderRounds boolean <optional>
true

If false hides header rounds.

showTournamentSelector boolean <optional>
true

If false hides tournament selector.

showYearSelector boolean <optional>
true

If false hides year selector.

hideTeamLogos boolean <optional>

If true hides team crest.

teamAbbr boolean <optional>

If true displays team abbreviations instead of team names. * @param {function} [props.onItemClick] - Function/event handler. Emits uniqueTeamId on click or touch.

border boolean <optional>

If true enables a border around the widget.

Examples

HTML/Declarative

<div class="sr-widget" data-sr-widget="us.season.ncaab.playoffs" data-sr-season-id="43374"></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.ncaab.playoffs', {seasonId: 64846});
</script>
<div id="sr-widget"></div>