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.

appID: "",
city: "",
region: "",
country: "",
count: 5,
days: [
	"Sunday",
	"Monday",
	"Tuesday",
	"Wednesday",
	"Thursday",
	"Friday",
	"Saturday",
],
today: "Today",
unit: "imperial",
text: {
	humidity: "Humidity",
	pressure: "Pressure",
	wind: "Wind",
},
showCity: true,
orientation: "horizontal",
theme: {
	backgroundColor: "#fff",
	color: "#333",
	forceImageWhite: false,
	border: "1px solid #c0c0c0",
},
lang: "en",
icon: "/icons/",

Last updated