Infobus Bus Routes Widget

Example

How to use?

<div id="root" style="width:100%"></div>
<link rel="stylesheet" href="https://js.bussystem.eu/styles.css" rel="noreferrer" tabindex="-1">
<script src="https://js.bussystem.eu/bundle.js" tabindex="-1"></script>
<script>
var myWidget = Infobus.default.widgets.BusRoutesWidget.new({ selector: "#root" });
myWidget.render({
	locale: "ru",
	currency: "EUR",
	searchFocusFrom: "1",
	showAccountOffice: true,
	showBonus: true,
	partnerId: "1",
	routesContainerProps: {"style":{"overflow":"auto"}},
	mainContainerProps: {},
});
</script>