-
Notifications
You must be signed in to change notification settings - Fork 5
Attributes inputs
Jago edited this page May 17, 2024
·
5 revisions
Element <countries-map> accepts the following attributes/inputs:
| Attribute | Type | Default | Mandatory |
|---|---|---|---|
data |
CountriesData (object) |
- | Yes |
apiKey |
string |
- | No |
options |
object |
- | No |
autoResize (only in v3) |
boolean |
false |
No |
countryLabel |
string |
'Country' |
No |
valueLabel |
string |
'Value' |
No |
showCaption |
boolean |
true |
No |
captionBelow |
boolean |
true |
No |
minValue |
number |
0 |
No |
maxValue |
number |
- | No |
minColor |
string |
'white' |
No |
maxColor |
string |
'red' |
No |
noDataColor |
string |
'#CFCFCF' |
No |
exceptionColor |
string |
'#FFEE58' |
No |
backgroundColor |
string |
'white' |
No |
If you set autoResize attribute to true, map will adapt to screen size changes, like in a device orientation switch.