Widget Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Widget Docs

Tournament Bracket

us.season.soccer.tournamentBracket displays a full tournament bracket for a given season, including the result of each matchup.

All properties are optional, but in order to render a tournament bracket you will need to provide a valid seasonId, matchId, utid, or tid.

Parameters

Name Type Description
props object properties
Name Type Argument Default Description
matchId number optional Match ID
seasonId number optional Season ID
utid number optional Unique Tournament ID
tid number optional Tournament ID
disableWidgetHeader boolean optional false If true hides the widget title.
border boolean optional If true enables a border around the widget.
onItemClick function optional Function/event handler. Emits { matchId: matchId, seasonId: seasonId } on click or touch.

Examples

<div class="sr-widget" data-sr-widget="us.season.soccer.tournamentBracket" data-sr-match-id="20869015" data-sr-show-only-selected-group="true"></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.soccer.tournamentBracket', {matchId: 20869015, showOnlySelectedGroup: true});
</script>
<div id="sr-widget"></div>

<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.soccer.tournamentBracket', {matchId: 20869015, showOnlySelectedGroup: true, onItemClick: function(type, obj){alert('matchId: ' + obj.matchId + ', seasonId: ' + obj.seasonId);}});
</script>
<div id="sr-widget"></div>