Betting Entertainment Tools

LMTLight

match.lmtLight

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

Widget displays date/time in end user's local timezone (based on end user's operating system settings).

Parameters
Name Type Attributes Default Description
props object <required>
matchId number <required>

Match ID

disablePitch boolean

When set to true, hides pitch and fixes layout type to single.

layout string topdown

Determines type of layout. Valid values are single,topdown.

disableComponents boolean

When set to true, disables components part of widget when layout type is set to single.

disableOvers boolean

When set to true, disables overs component

momentum string compact

Determines type of momentum. Valid values are disable, bars, line, timeline

scoreboard string extended

Determines type of scoreboard. Valid values are disable, extended

tabsPosition boolean bottom

Determines position and display of navigation. Valid values are top, bottom, disable.

collapseTo string

Determines inital collapse states. Valid values are disable, scoreboard, momentum, pitch

expanded boolean false

When set to true, the collapsed components will be initially expanded

activeSwitcher string momentum

Defines the default shown item in the subheader switcher. Valid values are momentum, scoreDetails.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="match.lmtLight" data-sr-match-id="22144801"></div>
<script type="application/javascript" src="https://widgets.sir.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.sir.sportradar.com/sportradar/widgetloader","SIR", {
        language: 'en'
    });
    SIR('addWidget', '#sr-widget', 'match.lmtLight', {matchId: 22144801});
</script>
<div id="sr-widget"></div>