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

NameTypeDescription
propsobjectproperties
NameTypeArgumentDefaultDescription
matchIdnumberoptionalMatch ID
seasonIdnumberoptionalSeason ID
utidnumberoptionalUnique Tournament ID
tidnumberoptionalTournament ID
disableWidgetHeaderbooleanoptionalfalseIf true hides the widget title.
borderbooleanoptionalIf true enables a border around the widget.
onItemClickfunctionoptionalFunction/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>