Default Options
View default options. You do not need to modify anything within the weather.min.js script. You can modify these options directly from the script call. The only required option is the appID. Otherwise, you can use the defaults.
1
appID: "",
2
city: "",
3
region: "",
4
country: "",
5
count: 5,
6
days: [
7
"Sunday",
8
"Monday",
9
"Tuesday",
10
"Wednesday",
11
"Thursday",
12
"Friday",
13
"Saturday",
14
],
15
today: "Today",
16
unit: "imperial",
17
text: {
18
humidity: "Humidity",
19
pressure: "Pressure",
20
wind: "Wind",
21
},
22
showCity: true,
23
orientation: "horizontal",
24
theme: {
25
backgroundColor: "#fff",
26
color: "#333",
27
forceImageWhite: false,
28
border: "1px solid #c0c0c0",
29
},
30
lang: "en",
31
icon: "/icons/",
Copied!
Copy link