Arena widget

From Help.baskethotel.com

Jump to: navigation, search

Parameters

Widget name: MBT.API.Widgets.ARENA_FULL_WIDGET

Name Description Values Default Required
arena_id Arena identifier int - Yes
game_link_visible Show/hide game link 1/0 0 No
team_link_visible Show/hide team links 1/0 0 No

Usage example

var request = new MBT.API.Widgets.RenderRequest();
var widget = new MBT.API.Widgets.Widget();
widget.setContainer("arena_widget_container");
widget.setWidgetId(MBT.API.Widgets.ARENA_FULL_WIDGET);
widget.setParam('arena_id', 123);
widget.setParam('game_link_visible', 1);
widget.setParam('team_link_visible', 1);

request.addWidget(widget);
request.render();
Personal tools