Complete list of widget attributes and accepted values
Widget configuration options
The following table lists the available configuration options for the widgets, their types, default values, available options, and whether they are required.
Prop name | Required | Type | Default value | Options |
---|---|---|---|---|
data-widget-id | Yes | String | - | - |
data-widget-sport | Yes | String | - | - |
data-widget-type | Yes | String | - | - |
data-date | No | Object | { dateFormat: 'DD.MM.YYYY', date: currentDate } | - |
data-team-short-name-type | No | String | short_name | short_name , three_letter_code |
data-refresh-time | No | String | never | super_fast - 15 seconds, fast - 30 seconds, medium - 1 minute, slow - 3 minutes, super_slow - 10 minutes, never - doesn't refresh the data |
data-entity-links | No | Boolean | - | - |
data-short-status-type | No | String | short_name | full_name , short_name |
data-theme | No | String | light | light , dark , client |
data-popular-list | No | String | default | - |
data-labels | No | Object | - | - |
data-header-display | No | Boolean | FALSE | true , false |
data-header-default-option | No | String | - | - |
data-odds-betting-id | No | String | - | - |
data-odds-display | No | Boolean | TRUE | true , false |
data-odds-market | No | String | - | 1x2 , 12 , bothScore , doubleChance , overUnder , over , under |
data-odds-pre-event-only | No | Boolean | TRUE | true , false |
Updated over 1 year ago