Correct score predictions
Getting started with the Fans United 3-way (1X2) Predictions widget
The "Correct Score" widget allows users to predict the score of a match. You can use this widget as it is, or you can use the JavaScript SDK to create your own custom implementation.
Widget configuration
The widget accepts the following configuration:
- data-widget-id: [Required] "widget-correct-score"
- data-match-id: [Required] string
- data-theme: enum["light", "dark"]. Default: "dark"
- data-language: enum["en", "bg", "ro"]. Default: "en". Overrides the setting in the widget loader config
You can manage the language of your widget by overriding the default labels using the following attributes:
Call to action options:
- data-call-to-action-html="Any HTML here to be displayed under the results."
Example
<div
data-widget-id="widget-correct-score"
data-match-id="2699453"
data-label-votes="##VOTES_COUNT## votes so far">
</div>
Design
Updated about 1 year ago